From 4b2e2d3fd9dccff357e1e26ce9a5f2e103837a36 Mon Sep 17 00:00:00 2001 From: "djm@openbsd.org" Date: Thu, 1 Jun 2017 04:51:58 +0000 Subject: upstream commit fix casts re constness Upstream-ID: e38f2bac162b37dbaf784d349c8327a6626fa266 --- bitmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitmap.c') diff --git a/bitmap.c b/bitmap.c index 71f87ec5..e8320d8c 100644 --- a/bitmap.c +++ b/bitmap.c @@ -189,7 +189,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; -- cgit v1.2.1