Source-Changes archive

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

CVS commit: src/include



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