projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
505da59
)
ne2000: remove casts from void *
author
Juan Quintela
<quintela@redhat.com>
Mon, 24 Aug 2009 16:42:49 +0000
(18:42 +0200)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Fri, 28 Aug 2009 01:46:59 +0000
(20:46 -0500)
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/ne2000.c
patch
|
blob
|
history
diff --git
a/hw/ne2000.c
b/hw/ne2000.c
index 9f685b4e9fed329fd5dcf61ac11c33ac7c235ebb..b17a0fada048d86f0dc7fb14b091b35e73bdf619 100644
(file)
--- a/
hw/ne2000.c
+++ b/
hw/ne2000.c
@@
-650,7
+650,7
@@
static uint32_t ne2000_reset_ioport_read(void *opaque, uint32_t addr)
static void ne2000_save(QEMUFile* f,void* opaque)
{
- NE2000State* s
=(NE2000State*)
opaque;
+ NE2000State* s
=
opaque;
uint32_t tmp;
if (s->pci_dev)
@@
-681,7
+681,7
@@
static void ne2000_save(QEMUFile* f,void* opaque)
static int ne2000_load(QEMUFile* f,void* opaque,int version_id)
{
- NE2000State* s
=(NE2000State*)
opaque;
+ NE2000State* s
=
opaque;
int ret;
uint32_t tmp;