From patchwork Mon Aug 24 16:42:49 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 31980 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by bilbo.ozlabs.org (Postfix) with ESMTPS id 5D1D3B7B61 for ; Tue, 25 Aug 2009 03:31:29 +1000 (EST) Received: from localhost ([127.0.0.1]:37860 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfdO9-0007vk-Qg for incoming@patchwork.ozlabs.org; Mon, 24 Aug 2009 13:31:25 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mfcfz-00019X-KG for qemu-devel@nongnu.org; Mon, 24 Aug 2009 12:45:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mfcfu-00011q-AS for qemu-devel@nongnu.org; Mon, 24 Aug 2009 12:45:46 -0400 Received: from [199.232.76.173] (port=33818 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mfcfu-00011X-44 for qemu-devel@nongnu.org; Mon, 24 Aug 2009 12:45:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32092) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mfcft-00035n-M5 for qemu-devel@nongnu.org; Mon, 24 Aug 2009 12:45:41 -0400 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n7OGjeMI022406 for ; Mon, 24 Aug 2009 12:45:40 -0400 Received: from localhost.localdomain (vpn1-4-157.ams2.redhat.com [10.36.4.157]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n7OGjKU7024317; Mon, 24 Aug 2009 12:45:39 -0400 From: Juan Quintela To: qemu-devel@nongnu.org Date: Mon, 24 Aug 2009 18:42:49 +0200 Message-Id: <68c0c9e4ec9017711ba30d1b610e79d43281d8b3.1251131364.git.quintela@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: [Qemu-devel] [PATCH 15/26] ne2000: remove casts from void * X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Juan Quintela --- hw/ne2000.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/ne2000.c b/hw/ne2000.c index b9c018a..1555fc3 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;