]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libblkid: use proper type in xfs log checker [coverity scan]
authorKarel Zak <kzak@redhat.com>
Tue, 1 Oct 2013 15:21:12 +0000 (17:21 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 1 Oct 2013 15:21:12 +0000 (17:21 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
libblkid/src/superblocks/xfs.c

index cea1faa3288fd014e834af0aa2cae091720755c7..b4859171056783c4c7a0e317ebf23a4af51f073e 100644 (file)
@@ -92,7 +92,7 @@ struct xlog_rec_header {
 
 static int xlog_valid_rec_header(struct xlog_rec_header *rhead)
 {
-       int hlen;
+       uint32_t hlen;
 
        if (rhead->h_magicno != cpu_to_be32(XLOG_HEADER_MAGIC_NUM))
                return 0;