summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/imports.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c
index 3ae56c8b0b..7d4b120099 100644
--- a/src/mesa/main/imports.c
+++ b/src/mesa/main/imports.c
@@ -560,6 +560,7 @@ _mesa_ffs(int i)
bit++;
i >>= 1;
}
+ bit++;
}
return bit;
#else