summaryrefslogtreecommitdiffstats
path: root/tests/tcg
diff options
context:
space:
mode:
authorAlex Bennée2018-04-13 18:17:37 +0200
committerAlex Bennée2018-06-20 21:22:34 +0200
commite571ba67cbc6b641f0ee0a21e0e2b9432e9eb3eb (patch)
treee31f1730d1eb388443f6fa5c8f266acaffee7603 /tests/tcg
parenttests/tcg/i386/test-i386: use modern vector_size attributes (diff)
downloadqemu-e571ba67cbc6b641f0ee0a21e0e2b9432e9eb3eb.tar.gz
qemu-e571ba67cbc6b641f0ee0a21e0e2b9432e9eb3eb.tar.xz
qemu-e571ba67cbc6b641f0ee0a21e0e2b9432e9eb3eb.zip
tests/tcg/i386/test-i386: fix printf format
Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'tests/tcg')
-rw-r--r--tests/tcg/i386/test-i386.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tcg/i386/test-i386.c b/tests/tcg/i386/test-i386.c
index caef4da176..a29b41e764 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));\
}