]> git.proxmox.com Git - mirror_qemu.git/commitdiff
tests/tcg/i386/test-i386: fix printf format
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 13 Apr 2018 16:17:37 +0000 (17:17 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 20 Jun 2018 19:22:34 +0000 (20:22 +0100)
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>
tests/tcg/i386/test-i386.c

index caef4da176818a29f9b6dfc47f19a0f47ab93d2d..a29b41e764560c56f7a5c5587505e89d7881df36 100644 (file)
@@ -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));\
 }