aboutsummaryrefslogtreecommitdiff
path: root/ext2fs/bitmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext2fs/bitmap.c')
-rw-r--r--ext2fs/bitmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext2fs/bitmap.c b/ext2fs/bitmap.c
index c6d882b9..c440c8b1 100644
--- a/ext2fs/bitmap.c
+++ b/ext2fs/bitmap.c
@@ -56,12 +56,12 @@ unsigned long count_free (unsigned char *map, unsigned int numchars)
* on Linus's ALPHA routines, which are pretty portable BTW.
*/
-static inline unsigned long
+static inline uint32_t
find_next_zero_bit(void *addr, unsigned long size, unsigned long offset)
{
- unsigned long *p = ((unsigned long *) addr) + (offset >> 5);
+ uint32_t *p = ((uint32_t *) addr) + (offset >> 5);
unsigned long result = offset & ~31UL;
- unsigned long tmp;
+ uint32_t tmp;
if (offset >= size)
return size;