summaryrefslogtreecommitdiff
path: root/ext2fs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-04-28 19:45:46 +0000
committerMiles Bader <miles@gnu.org>1995-04-28 19:45:46 +0000
commitbc0127f25556d0b50a3459a9466c56e4a9bf6ea6 (patch)
tree4a98112669f51c78bf8b77f6d22924a1be58fdf6 /ext2fs
parent16dd4ddd39f4cd2162d9171bbc6d93f1949e182e (diff)
Formerly bitmap.c.~7~
Diffstat (limited to 'ext2fs')
-rw-r--r--ext2fs/bitmap.c2
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;
}
/* ---------------------------------------------------------------- */