]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix type mixup. Spotted by GCC, analysed by Julian.
authorFlorian Krohm <florian@eich-krohm.de>
Mon, 19 Nov 2012 16:29:31 +0000 (16:29 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Mon, 19 Nov 2012 16:29:31 +0000 (16:29 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@2561

VEX/priv/host_s390_isel.c

index 1d0ea6f669179f1c57933cd0c5bbbaa9b2837ca9..246744f58ca0de53d7a285d52e48c11a29c4f6b4 100644 (file)
@@ -698,7 +698,7 @@ get_dfp_rounding_mode(ISelEnv *env, IRExpr *irrm)
 {
    if (irrm->tag == Iex_Const) {          /* rounding mode is known */
       vassert(irrm->Iex.Const.con->tag == Ico_U32);
-      IRRoundingMode mode = irrm->Iex.Const.con->Ico.U32;
+      IRRoundingModeDFP mode = irrm->Iex.Const.con->Ico.U32;
 
       switch (mode) {
       case Irrm_DFP_NEAREST: