summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/bitmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/ssh/bitmap.c')
-rw-r--r--usr.bin/ssh/bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ssh/bitmap.c b/usr.bin/ssh/bitmap.c
index 01e8f2094c0..8315b95b246 100644
--- a/usr.bin/ssh/bitmap.c
+++ b/usr.bin/ssh/bitmap.c
@@ -187,7 +187,7 @@ bitmap_from_string(struct bitmap *b, const void *p, size_t l)
{
int r;
size_t i, offset, shift;
- u_char *s = (u_char *)p;
+ const u_char *s = (const u_char *)p;
if (l > BITMAP_MAX / 8)
return -1;