aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2024-05-31 23:37:28 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2024-05-31 23:37:28 +0200
commit41b47398f52c6eb8ef2a061127bc36c54e3cc372 (patch)
treeacfb63ffe0a5942ad121bbb4f5f62f162e428e5d
parent2075553a1b0eb843d4ee73a039b3e30bed9274e0 (diff)
downloadbusybox-w32-41b47398f52c6eb8ef2a061127bc36c54e3cc372.tar.gz
busybox-w32-41b47398f52c6eb8ef2a061127bc36c54e3cc372.tar.bz2
busybox-w32-41b47398f52c6eb8ef2a061127bc36c54e3cc372.zip
libbb: fix 64-bit bb_popcnt_long
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--include/libbb.h2
1 files changed, 1 insertions, 1 deletions
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;
399 399
400unsigned FAST_FUNC bb_popcnt_32(uint32_t m); 400unsigned FAST_FUNC bb_popcnt_32(uint32_t m);
401#if ULONG_MAX > 0xffffffff 401#if ULONG_MAX > 0xffffffff
402unsigned FAST_FUNC bb_popcnt_long(unsigned_long m); 402unsigned FAST_FUNC bb_popcnt_long(unsigned long m);
403#else 403#else
404#define bb_popcnt_long(m) bb_popcnt_32(m) 404#define bb_popcnt_long(m) bb_popcnt_32(m)
405#endif 405#endif