From: Julian Seward Date: Fri, 25 Mar 2005 20:30:32 +0000 (+0000) Subject: icc -Wall fixes X-Git-Tag: svn/VALGRIND_3_0_1^2~249 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34637d5dee4a1efa3db84f6d1bb9f29d8f0125b6;p=thirdparty%2Fvalgrind.git icc -Wall fixes git-svn-id: svn://svn.valgrind.org/vex/trunk@1085 --- diff --git a/VEX/priv/guest-ppc32/ghelpers.c b/VEX/priv/guest-ppc32/ghelpers.c index dadf1a1d91..2414969ed1 100644 --- a/VEX/priv/guest-ppc32/ghelpers.c +++ b/VEX/priv/guest-ppc32/ghelpers.c @@ -98,7 +98,7 @@ UInt ppc32g_calculate_xer_ov ( UInt op, UInt res, UInt argL, UInt argR ) /* OV true if result can't be represented in 32 bits i.e sHi != sign extension of sLo */ Long l_res = (Long)((Int)argL) * (Long)((Int)argR); - Int sHi = (Int)(l_res >> 32); + Int sHi = (Int)toUInt(l_res >> 32); Int sLo = (Int)l_res; return (sHi != (sLo >> /*s*/ 31)) ? 1:0; }