From 3b41176384f5e48515cf490b2aa3f9bb1fd7ae92 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 1 Oct 2013 17:21:12 +0200 Subject: [PATCH] libblkid: use proper type in xfs log checker [coverity scan] Signed-off-by: Karel Zak --- libblkid/src/superblocks/xfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.3