From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1My7lU-0002RV-Bp for qemu-devel@nongnu.org; Wed, 14 Oct 2009 13:35:56 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1My7lO-0002N3-Lq for qemu-devel@nongnu.org; Wed, 14 Oct 2009 13:35:55 -0400 Received: from [199.232.76.173] (port=55252 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1My7lN-0002Mt-Pi for qemu-devel@nongnu.org; Wed, 14 Oct 2009 13:35:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:12505) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1My7lN-0008O3-AB for qemu-devel@nongnu.org; Wed, 14 Oct 2009 13:35:49 -0400 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9EHZmIG029742 for ; Wed, 14 Oct 2009 13:35:48 -0400 From: Juan Quintela Date: Wed, 14 Oct 2009 19:35:02 +0200 Message-Id: In-Reply-To: References: In-Reply-To: References: Subject: [Qemu-devel] [PATCH 11/16] vmware_vga: qemu_malloc() returns void * List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Signed-off-by: Juan Quintela --- hw/vmware_vga.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c index 5e31d66..1fb04bf 100644 --- a/hw/vmware_vga.c +++ b/hw/vmware_vga.c @@ -1124,7 +1124,7 @@ static int vmsvga_load(struct vmsvga_state_s *s, QEMUFile *f) static void vmsvga_init(struct vmsvga_state_s *s, int vga_ram_size) { s->scratch_size = SVGA_SCRATCH_SIZE; - s->scratch = (uint32_t *) qemu_malloc(s->scratch_size * 4); + s->scratch = qemu_malloc(s->scratch_size * 4); vmsvga_reset(s); -- 1.6.2.5