wdt_ib700: Fix accidental use of SoftFloat int64 type
authorAndreas Färber <andreas.faerber@web.de>
Sun, 19 Dec 2010 16:22:40 +0000 (17:22 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Mon, 20 Dec 2010 21:03:01 +0000 (21:03 +0000)
softfloat.h's int64 type has least-width semantics.
Since we're assigning an int64_t, use plain int64_t.

v4:
* Summary change.

v3:
* Split off.

Signed-off-by: Andreas Färber <andreas.faerber@web.de>
Acked-by: Richard W.M. Jones <rjones@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/wdt_ib700.c

index b6235ebe5292a4027467245222f9e0f66dd447b1..1248464ff5f319519d51d392ff81229923d06804 100644 (file)
@@ -53,7 +53,7 @@ static void ib700_write_enable_reg(void *vp, uint32_t addr, uint32_t data)
         30, 28, 26, 24, 22, 20, 18, 16,
         14, 12, 10,  8,  6,  4,  2,  0
     };
-    int64 timeout;
+    int64_t timeout;
 
     ib700_debug("addr = %x, data = %x\n", addr, data);