diff options
-rw-r--r-- | ext2fs/bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/bitmap.c b/ext2fs/bitmap.c index acaef081..98d4f7b1 100644 --- a/ext2fs/bitmap.c +++ b/ext2fs/bitmap.c @@ -44,7 +44,7 @@ inline unsigned long ffz(unsigned long word) word >>= 4; offset += 4; } - return ffz_nibble_map[word] + offset; + return ffz_nibble_map[word & 0xF] + offset; } /* ---------------------------------------------------------------- */ |