]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix another enum type error spotted by gcc-4.5.
authorJulian Seward <jseward@acm.org>
Mon, 31 Aug 2009 08:48:23 +0000 (08:48 +0000)
committerJulian Seward <jseward@acm.org>
Mon, 31 Aug 2009 08:48:23 +0000 (08:48 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10880

cachegrind/cg_main.c

index b8c0a625c140fc0380a19b0c0158e1db2324bd6c..50d388cd2cca30edde552f633efe90abfee23045 100644 (file)
@@ -1060,7 +1060,7 @@ IRSB* cg_instrument ( VgCallbackClosure* closure,
             Bool     inverted;
             Addr64   nia, sea;
             IRConst* dst;
-            IROp     tyW    = hWordTy;
+            IRType   tyW    = hWordTy;
             IROp     widen  = tyW==Ity_I32  ? Iop_1Uto32  : Iop_1Uto64;
             IROp     opXOR  = tyW==Ity_I32  ? Iop_Xor32   : Iop_Xor64;
             IRTemp   guard1 = newIRTemp(cgs.sbOut->tyenv, Ity_I1);