]> git.ipfire.org Git - thirdparty/qemu.git/commit
qapi: fix qapi_dealloc_type_size parameter type
authorBruce Rogers <brogers@suse.com>
Tue, 27 Nov 2012 20:11:25 +0000 (13:11 -0700)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 3 Dec 2012 21:02:28 +0000 (15:02 -0600)
commitffffff01466a0180de7632842cf583c8a9cbf959
tree442ea78b5eeadb68568cc8eb2d5950cca17d2fb5
parent54c6c5a35d8bd57b320bbba8b85604018004bd13
qapi: fix qapi_dealloc_type_size parameter type

The second parameter to qapi_dealloc_type_size should be a uint64_t *,
not a size_t *. This was causing our 32 bit x86 build to fail, since
warnings are treated as errors.

Signed-off-by: Bruce Rogers <brogers@suse.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
(cherry picked from commit 1d16252652688a775b244fffa1b9ac9b719ceffc)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qapi/qapi-dealloc-visitor.c