Module Name:    src
Committed By:   rillig
Date:           Sun Dec  1 20:01:42 UTC 2024

Modified Files:
        src/crypto/external/bsd/openssh/dist: bitmap.c

Log Message:
openssh/bitmap.c: reduce diff to upstream

No binary change.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/crypto/external/bsd/openssh/dist/bitmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/external/bsd/openssh/dist/bitmap.c
diff -u src/crypto/external/bsd/openssh/dist/bitmap.c:1.8 src/crypto/external/bsd/openssh/dist/bitmap.c:1.9
--- src/crypto/external/bsd/openssh/dist/bitmap.c:1.8	Sun Jan 27 02:08:33 2019
+++ src/crypto/external/bsd/openssh/dist/bitmap.c	Sun Dec  1 20:01:42 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: bitmap.c,v 1.8 2019/01/27 02:08:33 pgoyette Exp $	*/
+/*	$NetBSD: bitmap.c,v 1.9 2024/12/01 20:01:42 rillig Exp $	*/
 /* $OpenBSD: bitmap.c,v 1.9 2017/10/20 01:56:39 djm Exp $ */
 /*
  * Copyright (c) 2015 Damien Miller <d...@mindrot.org>
@@ -16,7 +16,7 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 #include "includes.h"
-__RCSID("$NetBSD: bitmap.c,v 1.8 2019/01/27 02:08:33 pgoyette Exp $");
+__RCSID("$NetBSD: bitmap.c,v 1.9 2024/12/01 20:01:42 rillig Exp $");
 
 #include <sys/types.h>
 #include <string.h>
@@ -191,7 +191,7 @@ bitmap_from_string(struct bitmap *b, con
 {
 	int r;
 	size_t i, offset, shift;
-	const u_char *s = p;
+	const u_char *s = (const u_char *)p;
 
 	if (l > BITMAP_MAX / 8)
 		return -1;

Reply via email to