qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] type fixup


From: Samuel Thibault
Subject: [Qemu-devel] [PATCH] type fixup
Date: Fri, 9 Nov 2007 15:49:29 +0000
User-agent: Mutt/1.5.12-2006-07-14

Here is a trivial patch to make only use of posix types in drivers, not
types from the softfloat header.

Signed-off-by: Samuel Thibault <address@hidden>

Index: hw/rtl8139.c
===================================================================
RCS file: /sources/qemu/qemu/hw/rtl8139.c,v
retrieving revision 1.13
diff -u -p -r1.13 rtl8139.c
--- hw/rtl8139.c        17 Sep 2007 08:09:48 -0000      1.13
+++ hw/rtl8139.c        9 Nov 2007 15:44:06 -0000
@@ -1464,7 +1464,7 @@ static void rtl8139_BasicModeCtrl_write(
     DEBUG_PRINT(("RTL8139: BasicModeCtrl register write(w) val=0x%04x\n", 
val));
 
     /* mask unwriteable bits */
-    uint32 mask = 0x4cff;
+    uint32_t mask = 0x4cff;
 
     if (1 || !rtl8139_config_writeable(s))
     {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]