summaryrefslogtreecommitdiffstats
path: root/src/util/bitscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/bitscan.c')
-rw-r--r--src/util/bitscan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/bitscan.c b/src/util/bitscan.c
index ceca59eba98..7858291bf63 100644
--- a/src/util/bitscan.c
+++ b/src/util/bitscan.c
@@ -32,7 +32,7 @@
#elif defined(_MSC_VER) && (_M_IX86 || _M_ARM || _M_AMD64 || _M_IA64)
#else
int
-ffs(unsigned i)
+ffs(int i)
{
int bit = 0;
if (!i)
@@ -63,7 +63,7 @@ ffs(unsigned i)
#elif defined(_MSC_VER) && (_M_AMD64 || _M_ARM || _M_IA64)
#else
int
-ffsll(uint64_t val)
+ffsll(long long int val)
{
int bit;