From: Thomas Weißschuh Date: Sat, 21 Jan 2023 05:32:22 +0000 (+0000) Subject: libblkid: bcachefs: fix field type X-Git-Tag: v2.39-rc1~130^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e2a9ae3262835ec3fef9378fdd2ccd64177c1c1e;p=thirdparty%2Futil-linux.git libblkid: bcachefs: fix field type --- diff --git a/libblkid/src/superblocks/bcache.c b/libblkid/src/superblocks/bcache.c index 4848534e60..90e7ef250f 100644 --- a/libblkid/src/superblocks/bcache.c +++ b/libblkid/src/superblocks/bcache.c @@ -184,7 +184,7 @@ static void probe_bcachefs_sb_fields(blkid_probe pr, const struct bcachefs_super while (1) { struct bcachefs_sb_field *field = (struct bcachefs_sb_field *) field_addr; uint64_t field_size; - int32_t type; + uint32_t type; if ((unsigned char *) field + sizeof(*field) > sb_end) break;