NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/60249 CVS commit: src/include



The following reply was made to PR lib/60249; it has been noted by GNATS.

From: "Robert Elz" <kre%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/60249 CVS commit: src/include
Date: Mon, 11 May 2026 21:16:39 +0000

 Module Name:	src
 Committed By:	kre
 Date:		Mon May 11 21:16:39 UTC 2026
 
 Modified Files:
 	src/include: bitstring.h
 
 Log Message:
 PR lib/60249 add some casts, and #include <stdlib.h>
 
 Casts needed for assigning size_t value to int variable.
 
 bit_alloc() uses calloc under the hood, and is a macro, so
 anything calling it needs to have <stdlib.h> in scope.  The
 doc doesn't indicate it is required of the application, so
 include it from <bitstring.h>
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.15 -r1.16 src/include/bitstring.h
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 



Home | Main Index | Thread Index | Old Index