]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libblkid: bcachefs: fix field type
authorThomas Weißschuh <thomas@t-8ch.de>
Sat, 21 Jan 2023 05:32:22 +0000 (05:32 +0000)
committerThomas Weißschuh <thomas@t-8ch.de>
Sat, 21 Jan 2023 05:32:22 +0000 (05:32 +0000)
libblkid/src/superblocks/bcache.c

index 4848534e602be0d1b44f8da2a7835c4cd22aaae3..90e7ef250f9eacf6b8d5130e8fa0140a88ebf351 100644 (file)
@@ -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;