From: Carl Love Date: Mon, 5 Jan 2015 18:34:01 +0000 (+0000) Subject: Fixed missing ULL on constants per compiler warnings: X-Git-Tag: svn/VALGRIND_3_11_0^2~116 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=691fb8b388ef2638207734dd24f05c14fde31d3f;p=thirdparty%2Fvalgrind.git Fixed missing ULL on constants per compiler warnings: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../VEX/pub -I../VEX/pub -DVGA_x86=1 -DVGO_linux=1 -DVGP_x86_linux=1 -DVGPV_x86_linux_vanilla=1 -Ipriv -m32 -mpreferred-stack-boundary=2 -O2 -g -Wall -Wcast-align -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wno-long-long -Wcast-qual -Wwrite-strings -Wformat -Wformat-security -fno-stack-protector -fno-strict-aliasing -fno-builtin -fomit-frame-pointer -Wbad-function-cast -Wcast-qual -fstrict-aliasing -MT priv/libvex_x86_linux_a-guest_ppc_toIR.o -MD -MP -MF priv/.deps/libvex_x86_linux_a-guest_ppc_toIR.Tpo -c -o priv/libvex_x86_linux_a-guest_ppc_toIR.o `test -f 'priv/guest_ppc_toIR.c' || echo './'`priv/guest_ppc_toIR.c priv/guest_ppc_toIR.c: In function ‘dis_vx_load’: priv/guest_ppc_toIR.c:15333: warning: integer constant is too large for ‘long’ type priv/guest_ppc_toIR.c:15334: warning: integer constant is too large for ‘long’ type git-svn-id: svn://svn.valgrind.org/vex/trunk@3058 --- diff --git a/VEX/priv/guest_ppc_toIR.c b/VEX/priv/guest_ppc_toIR.c index 3f01e0b32e..de644083df 100644 --- a/VEX/priv/guest_ppc_toIR.c +++ b/VEX/priv/guest_ppc_toIR.c @@ -15330,8 +15330,8 @@ dis_vx_load ( UInt theInstr ) t0_BE = load( Ity_V128, mkexpr( EA ) ); /* Permute the data to LE format */ - assign( perm_LE, binop( Iop_64HLtoV128, mkU64(0x0c0d0e0f08090a0b), - mkU64(0x0405060700010203))); + assign( perm_LE, binop( Iop_64HLtoV128, mkU64(0x0c0d0e0f08090a0bULL), + mkU64(0x0405060700010203ULL))); t0 = binop( Iop_Perm8x16, t0_BE, mkexpr(perm_LE) ); } else {