Commit 1d162526 authored by Bruce Rogers's avatar Bruce Rogers Committed by Luiz Capitulino
Browse files

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: default avatarBruce Rogers <brogers@suse.com>
Reviewed-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
Reviewed-by: default avatarStefan Weil <sw@weilnetz.de>
Signed-off-by: default avatarLuiz Capitulino <lcapitulino@redhat.com>
parent e9bff10f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
{
}