]> xenbits.xensource.com Git - libvirt.git/commit
build: avoid compilation warnings
authorEric Blake <eblake@redhat.com>
Mon, 3 Jan 2011 22:26:33 +0000 (15:26 -0700)
committerEric Blake <eblake@redhat.com>
Mon, 3 Jan 2011 22:26:33 +0000 (15:26 -0700)
commitc685993d71c1cf561af2cf34a5077781566aa0e0
tree33c14dd9b54332df647367c9d94f394c4916d8fd
parentb2dbc1604480f01302fb55ee8458620704bfd351
build: avoid compilation warnings

Detected on cygwin:
util/util.c: In function 'virSetUIDGID':
util/util.c:2824: warning: format '%d' expects type 'int', but argument 7 has type 'gid_t' [-Wformat]
(and three other lines)

* src/util/util.c (virSetUIDGID): Cast, as is done elsewhere in
this file, to avoid printf type mismatch warnings.
src/util/util.c