]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: silence a format string warning [-Wformat]
authorFrancesco Cosoleto <cosoleto@gmail.com>
Tue, 8 Nov 2011 22:14:53 +0000 (23:14 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 9 Nov 2011 09:04:24 +0000 (10:04 +0100)
commit07ce7003b9276ae9aa3481d69cbf914fd1364f96
tree25d6f1e431d212a20ac487c513744da48f6c0cb3
parentd73af2ac4bf2cbac9d73650b3e1fdc5b85204d58
libblkid: silence a format string warning [-Wformat]

Fix the following clang warning:

 exfat.c:130:41: warning: conversion specifies type 'unsigned short' but
 the argument has type 'uint8_t' (aka 'unsigned char') [-Wformat]
         blkid_probe_sprintf_version(pr, "%hu.%hu",
                                              ~~^
                                              %c

Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
libblkid/src/superblocks/exfat.c