qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v4 2/3] wdt_ib700: Fix accidental use of SoftFloat i


From: Andreas Färber
Subject: [Qemu-devel] [PATCH v4 2/3] wdt_ib700: Fix accidental use of SoftFloat int64 type
Date: Sun, 19 Dec 2010 17:22:40 +0100

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 <address@hidden>
Acked-by: Richard W.M. Jones <address@hidden>
---
 hw/wdt_ib700.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/wdt_ib700.c b/hw/wdt_ib700.c
index b6235eb..1248464 100644
--- a/hw/wdt_ib700.c
+++ b/hw/wdt_ib700.c
@@ -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);
 
-- 
1.7.3.4




reply via email to

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