From: Julian Seward Date: Sat, 29 Oct 2005 22:30:47 +0000 (+0000) Subject: Tidy up a couple of format strings. X-Git-Tag: svn/VALGRIND_3_1_1^2~65 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b661345d40670f4816ea6354d1bd387a70a30aae;p=thirdparty%2Fvalgrind.git Tidy up a couple of format strings. git-svn-id: svn://svn.valgrind.org/vex/trunk@1426 --- diff --git a/VEX/Makefile-icc b/VEX/Makefile-icc index 22651fbc81..77ee730d29 100644 --- a/VEX/Makefile-icc +++ b/VEX/Makefile-icc @@ -70,7 +70,7 @@ PRIV_INCLUDES = -Ipriv # $(EXTRA_CFLAGS) CC = icc -CCFLAGS = -g -Wall -wd981 -wd279 -wd1287 -wd869 -wd111 -wd188 -wd186 +CCFLAGS = -g -Wall -wd981 -wd279 -wd1287 -wd869 -wd111 -wd188 -wd186 -wd810 # 981: operands are evaluated in unspecified order # 279: controlling expression is constant # 1287: invalid attribute for parameter @@ -79,7 +79,7 @@ CCFLAGS = -g -Wall -wd981 -wd279 -wd1287 -wd869 -wd111 -wd188 -wd186 # 188: enumerated type mixed with another type # (the above are for icc 8.0 -- 8.0.0.55 I think) # 186: pointless comparison of unsigned integer with zero - +# 810: conversion from ... to ... may lose significant bits all: vex diff --git a/VEX/priv/guest-amd64/toIR.c b/VEX/priv/guest-amd64/toIR.c index ca735f1780..50878d03be 100644 --- a/VEX/priv/guest-amd64/toIR.c +++ b/VEX/priv/guest-amd64/toIR.c @@ -5406,7 +5406,7 @@ ULong dis_FPU ( /*OUT*/Bool* decode_ok, case 0xE0 ... 0xE7: /* FUCOM %st(0),%st(?) */ r_dst = (UInt)modrm - 0xE0; - DIP("fucom %%st(0),%%st(%d)\n", r_dst); + DIP("fucom %%st(0),%%st(%u)\n", r_dst); /* This forces C1 to zero, which isn't right. */ put_C3210( unop(Iop_32Uto64, diff --git a/VEX/priv/host-ppc32/hdefs.c b/VEX/priv/host-ppc32/hdefs.c index 54c7bf248b..d51161939c 100644 --- a/VEX/priv/host-ppc32/hdefs.c +++ b/VEX/priv/host-ppc32/hdefs.c @@ -1421,7 +1421,7 @@ void ppPPC32Instr ( PPC32Instr* i ) vex_printf(","); ppPPC32VI5s(i->Pin.AvSplat.src); if (i->Pin.AvSplat.src->tag == Pvi_Reg) - vex_printf(", %u", (128/sz)-1); /* louis lane */ + vex_printf(", %d", (128/sz)-1); /* louis lane */ return; }