diff options
-rw-r--r-- | 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 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); |