libblkid: use proper type in xfs log checker [coverity scan]

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2013-10-01 17:21:12 +02:00
parent 1d4d4b42e6
commit 3b41176384
1 changed files with 1 additions and 1 deletions

View 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;