From: Karel Zak Date: Tue, 1 Oct 2013 15:21:12 +0000 (+0200) Subject: libblkid: use proper type in xfs log checker [coverity scan] X-Git-Tag: v2.24-rc2~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b41176384f5e48515cf490b2aa3f9bb1fd7ae92;p=thirdparty%2Futil-linux.git libblkid: use proper type in xfs log checker [coverity scan] Signed-off-by: Karel Zak --- diff --git a/libblkid/src/superblocks/xfs.c b/libblkid/src/superblocks/xfs.c index cea1faa328..b485917105 100644 --- a/libblkid/src/superblocks/xfs.c +++ b/libblkid/src/superblocks/xfs.c @@ -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;