]> xenbits.xensource.com Git - libvirt.git/commit
build: fix 32-bit build of admin
authorEric Blake <eblake@redhat.com>
Wed, 4 May 2016 19:15:11 +0000 (13:15 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 4 May 2016 19:20:23 +0000 (13:20 -0600)
commita4ef8057588600007d33d20544f13a16de93da11
treebecbd19fd683d98212fdfe1c532ef7634531be81
parentaaf3ebf760891427fdaaac0460c9a93a553c96cc
build: fix 32-bit build of admin

We can't guarantee which 64-bit type will be used in an RPC struct;
while %lu worked on 64-bit Linux, that won't always be the type
used on all 64-bit platforms; and certainly is not right for 32-bit:

admin.c: In function 'adminDispatchClientGetInfo':
admin.c:265:25: error: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'uint64_t {aka long long unsigned int}' [-Werror=format=]

Signed-off-by: Eric Blake <eblake@redhat.com>
daemon/admin.c