projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7037394
)
vmware_vga: qemu_malloc() returns void *
author
Juan Quintela
<quintela@redhat.com>
Wed, 14 Oct 2009 16:16:51 +0000
(18:16 +0200)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Tue, 27 Oct 2009 17:28:56 +0000
(12:28 -0500)
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/vmware_vga.c
patch
|
blob
|
history
diff --git
a/hw/vmware_vga.c
b/hw/vmware_vga.c
index 5e31d665f29eef22b62af47645565526ffc0398b..1fb04bfe5c4c8a514e8ef58d4d5be9c7256c0c93 100644
(file)
--- 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);