CVS commit: src/include

"Robert Elz" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.