summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/bitmap.c
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2017-06-01 04:51:58 +0000
committerdjm <djm@openbsd.org>2017-06-01 04:51:58 +0000
commit7154f74e89cb3d77672952795cdccf66322693e2 (patch)
tree4cf931ea0c954596cfa1eb2dd9f9692d86441c43 /usr.bin/ssh/bitmap.c
parentNo slaacd.conf(5) is currently planned. Remove Xr to nonexistent manual. (diff)
downloadwireguard-openbsd-7154f74e89cb3d77672952795cdccf66322693e2.tar.xz
wireguard-openbsd-7154f74e89cb3d77672952795cdccf66322693e2.zip
fix casts re constness
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;