Received: from eggs.gnu.org ([208.118.235.92]:51965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdRWf-0004Zl-UQ for qemu-devel@nongnu.org; Tue, 27 Nov 2012 15:13:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TdRWY-0005Rv-Bs for qemu-devel@nongnu.org; Tue, 27 Nov 2012 15:13:01 -0500 Received: from [137.65.135.21] (port=42772 helo=suse.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdRWY-0005R9-6D for qemu-devel@nongnu.org; Tue, 27 Nov 2012 15:12:54 -0500 From: Bruce Rogers Date: Tue, 27 Nov 2012 13:11:25 -0700 Message-Id: <1354047085-12401-1-git-send-email-brogers@suse.com> Subject: [Qemu-devel] [PATCH] qapi: fix qapi_dealloc_type_size parameter type List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: mdroth@linux.vnet.ibm.com, stefanha@redhat.com, Bruce Rogers 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 --- 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 a07b171..75214e7 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) { } -- 1.7.7