aboutsummaryrefslogtreecommitdiff
path: root/ext2fs/ialloc.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-27 23:14:20 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-05-27 23:14:20 +0200
commit5ba4850606ced0dd645f2b6ce85893ef9af95289 (patch)
tree326a61525d36a9261359ee7fbefc4242b0f37a0b /ext2fs/ialloc.c
parentf38c16748eb4a109b44c2e99c8ff377ddf3a23cf (diff)
downloadhurd-5ba4850606ced0dd645f2b6ce85893ef9af95289.tar.gz
hurd-5ba4850606ced0dd645f2b6ce85893ef9af95289.tar.bz2
hurd-5ba4850606ced0dd645f2b6ce85893ef9af95289.zip
ext2fs: Fix unsigned long / uint32_t confusion
Diffstat (limited to 'ext2fs/ialloc.c')
-rw-r--r--ext2fs/ialloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/ialloc.c b/ext2fs/ialloc.c
index d6f5ac79..707ce142 100644
--- a/ext2fs/ialloc.c
+++ b/ext2fs/ialloc.c
@@ -225,7 +225,7 @@ repeat:
bh = disk_cache_block_ref (le32toh (gdp->bg_inode_bitmap));
if ((inum =
- find_first_zero_bit ((unsigned long *) bh, le32toh (sblock->s_inodes_per_group)))
+ find_first_zero_bit ((uint32_t *) bh, le32toh (sblock->s_inodes_per_group)))
< le32toh (sblock->s_inodes_per_group))
{
if (set_bit (inum, bh))