diff options
author | Bruce Rogers | 2012-11-27 21:11:25 +0100 |
---|---|---|
committer | Luiz Capitulino | 2012-11-29 14:05:23 +0100 |
commit | 1d16252652688a775b244fffa1b9ac9b719ceffc (patch) | |
tree | 5b0826d8bc24553370dae17d65e9d6b088c6f9cb /qapi/qapi-dealloc-visitor.c | |
parent | event notifier: Fix setup for win32 (diff) | |
download | qemu-1d16252652688a775b244fffa1b9ac9b719ceffc.tar.gz qemu-1d16252652688a775b244fffa1b9ac9b719ceffc.tar.xz qemu-1d16252652688a775b244fffa1b9ac9b719ceffc.zip |
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>
Diffstat (limited to 'qapi/qapi-dealloc-visitor.c')
-rw-r--r-- | qapi/qapi-dealloc-visitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qapi/qapi-dealloc-visitor.c b/qapi/qapi-dealloc-visitor.c index a07b171b86..75214e7daa 100644 --- a/qapi/qapi-dealloc-visitor.c +++ b/qapi/qapi-dealloc-visitor.c @@ -132,7 +132,7 @@ static void qapi_dealloc_type_number(Visitor *v, double *obj, const char *name, { } -static void qapi_dealloc_type_size(Visitor *v, size_t *obj, const char *name, +static void qapi_dealloc_type_size(Visitor *v, uint64_t *obj, const char *name, Error **errp) { } |