From b63a00eb400effa9cd1f629a5cbcd3a9136aaf65 Mon Sep 17 00:00:00 2001 From: wiml Date: Sun, 6 Oct 2002 08:38:57 +0000 Subject: [PATCH] Give the argument of isCommutativeOp() the correct type. git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2108 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- src/mcs51/ralloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mcs51/ralloc.c b/src/mcs51/ralloc.c index aab641b6..b95be782 100644 --- a/src/mcs51/ralloc.c +++ b/src/mcs51/ralloc.c @@ -2226,7 +2226,7 @@ isBitwiseOptimizable (iCode * ic) /* isCommutativeOp - tests whether this op cares what order its */ /* operands are in */ /*-----------------------------------------------------------------*/ -bool isCommutativeOp(char op) +bool isCommutativeOp(unsigned int op) { if (op == '+' || op == '*' || op == EQ_OP || op == '^' || op == '|' || op == BITWISEAND) -- 2.47.2