]> err.no Git - util-linux/commit
losetup: clean up gcc warnings
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 8 Oct 2007 16:59:18 +0000 (09:59 -0700)
committerKarel Zak <kzak@redhat.com>
Thu, 11 Oct 2007 11:02:45 +0000 (13:02 +0200)
commit830d6af09972a79ae7a6786afcb567d9d2cd5d24
treeb80dbb3d321e6b864c304b3b78327adf85880537
parentbc8572a27677688ec4c5040971140988c42af5fa
losetup: clean up gcc warnings

Fix strict gcc warnings that come from using:
  ("-Wall -Wp,-D_FORTIFY_SOURCE=2")

lomount.c:98: warning: pointer targets in initialization differ in signedness
lomount.c:111: warning: format '%04x' expects type 'unsigned int', but argument 4 has type '__kernel_old_dev_t'
lomount.c:300: warning: pointer targets in passing argument 1 of 'xstrncpy' differ in signedness
lomount.c:307: warning: pointer targets in passing argument 1 of '__builtin___snprintf_chk' differ in signedness
lomount.c:339: warning: pointer targets in passing argument 1 of 'xstrncpy' differ in signedness

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
mount/lomount.c