diff mbox

[19/19] tests/tcg: test-i386.c: Fix format warnings

Message ID 20161201051433.17168-20-bobby.prani@gmail.com
State New
Headers show

Commit Message

Pranith Kumar Dec. 1, 2016, 5:14 a.m. UTC
Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
---
 tests/tcg/i386/test-i386.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/tests/tcg/i386/test-i386.c b/tests/tcg/i386/test-i386.c
index b0f8975..6a11c2f 100644
--- a/tests/tcg/i386/test-i386.c
+++ b/tests/tcg/i386/test-i386.c
@@ -2258,7 +2258,7 @@  SSE_OP(a ## sd);
         "pop %0\n"\
         : "=rm" (eflags)\
         : "x" (a.dq), "x" (b.dq));\
-    printf("%-9s: a=%f b=%f cc=%04x\n",\
+    printf("%-9s: a=%f b=%f cc=%04lx\n",\
            #op, a1, b1,\
            eflags & (CC_C | CC_P | CC_Z | CC_S | CC_O | CC_A));\
 }