summaryrefslogtreecommitdiff
path: root/hw/vmware_vga.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-14 18:16:51 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-27 12:28:56 -0500
commitfe740c431666e2e34db199eef20d8a678f6a4a5f (patch)
treeef3ed64d57a479b1de9306cd62e981eeb9eb7a62 /hw/vmware_vga.c
parent467d44b2f45a072f5b2b685f82fa0564fa521b6f (diff)
downloadqemu-fe740c431666e2e34db199eef20d8a678f6a4a5f.tar.gz
qemu-fe740c431666e2e34db199eef20d8a678f6a4a5f.tar.bz2
qemu-fe740c431666e2e34db199eef20d8a678f6a4a5f.zip
vmware_vga: qemu_malloc() returns void *
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/vmware_vga.c')
-rw-r--r--hw/vmware_vga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c
index 5e31d665f2..1fb04bfe5c 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);