Skip to contentSkip to conversation

type fixup

PATCH New Samuel Thibault 1 participant 1 message Nov 9, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 type fixup

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

Index: hw/rtl8139.c
===================================================================
RCS file: /sources/qemu/qemu/hw/rtl8139.c,v
retrieving revision 1.13

rtl8139.c +1 -1
diff -u -p -r1.13 rtl8139.c
@@ -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))
     {