]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fixed missing ULL on constants per compiler warnings:
authorCarl Love <cel@us.ibm.com>
Mon, 5 Jan 2015 18:34:01 +0000 (18:34 +0000)
committerCarl Love <cel@us.ibm.com>
Mon, 5 Jan 2015 18:34:01 +0000 (18:34 +0000)
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

VEX/priv/guest_ppc_toIR.c

index 3f01e0b32e6489b45365511f8f5a535e7a99fc80..de644083df4765877af412404f943ef71803557b 100644 (file)
@@ -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 {