From: Julian Seward Date: Mon, 31 Aug 2009 08:48:23 +0000 (+0000) Subject: Fix another enum type error spotted by gcc-4.5. X-Git-Tag: svn/VALGRIND_3_6_0~518 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68afc2a2a18fe0e6c47675ef79fe1c41f6a86803;p=thirdparty%2Fvalgrind.git Fix another enum type error spotted by gcc-4.5. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10880 --- diff --git a/cachegrind/cg_main.c b/cachegrind/cg_main.c index b8c0a625c1..50d388cd2c 100644 --- a/cachegrind/cg_main.c +++ b/cachegrind/cg_main.c @@ -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);