aboutsummaryrefslogtreecommitdiff
path: root/hw/ne2000.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-08-24 18:42:49 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-27 20:46:59 -0500
commita10fcec6168bfd41e7104f870a00f83addf58710 (patch)
tree8b888782d6104ce9dcf04123f98274d1673a1d9f /hw/ne2000.c
parent505da59965a564504111dfc16ed8cf984b41d45f (diff)
ne2000: remove casts from void *
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/ne2000.c')
-rw-r--r--hw/ne2000.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ne2000.c b/hw/ne2000.c
index 9f685b4e9f..b17a0fada0 100644
--- 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;