diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-05 14:27:55 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-05 14:27:55 -0500 |
commit | 6b12382231f6fe8af16554d48f2a74d9a6e53835 (patch) | |
tree | 2918f5d1ec1a0ddaeae24cf1ef2f912f3026cffa /util.c | |
parent | 759404e118b701a7c0264de5791f0158db0c7e13 (diff) |
ask to reload when file is externally changed
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,8 +1,8 @@ -static u32 util_popcount(u64 x) { +static u8 util_popcount(u64 x) { #ifdef __GNUC__ - return (u32)__builtin_popcountll(x); + return (u8)__builtin_popcountll(x); #else - u32 count = 0; + u8 count = 0; while (x) { x &= x-1; ++count; |