[git commit] libbb: fix 64-bit bb_popcnt_long

Denys Vlasenko vda.linux at googlemail.com
Fri May 31 21:37:28 UTC 2024


commit: https://git.busybox.net/busybox/commit/?id=41b47398f52c6eb8ef2a061127bc36c54e3cc372
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 include/libbb.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/libbb.h b/include/libbb.h
index 6914b5882..01cdb1bdc 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -399,7 +399,7 @@ uint64_t bb_bswap_64(uint64_t x) FAST_FUNC;
 
 unsigned FAST_FUNC bb_popcnt_32(uint32_t m);
 #if ULONG_MAX > 0xffffffff
-unsigned FAST_FUNC bb_popcnt_long(unsigned_long m);
+unsigned FAST_FUNC bb_popcnt_long(unsigned long m);
 #else
 #define bb_popcnt_long(m) bb_popcnt_32(m)
 #endif


More information about the busybox-cvs mailing list