hdr_histogram.c: clang 23 -Wincompatible-pointer-types will be error insteadof warning(clang 19 is warning)#66580
Version
26.2.
Platform
Microsoft Windows NT 10.0.26200.0 x64
Subsystem
No response
What steps will reproduce the bug?
incompatible pointer types passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'unsigned long *' [-Wincompatible-pointer-types] [\node260200\deps\histogram\histogram.vcxproj] out\build\x64-release\src out\build\x64-release\src\hdr_histogram.c 149
How often does it reproduce? Is there a required condition?
always
What is the expected behavior? Why is that the expected behavior?
no error
What do you see instead?
incompatible pointer types passing 'uint32_t *' (aka 'unsigned int *') to parameter of type 'unsigned long *'
Additional information
uint32_t leading_zero = 0; => unsigned long to MATCH _BitScanReverse(64) requirements