From fe740c431666e2e34db199eef20d8a678f6a4a5f Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Wed, 14 Oct 2009 18:16:51 +0200 Subject: vmware_vga: qemu_malloc() returns void * Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- hw/vmware_vga.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw') 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); -- cgit v1.1