]> git.gag.com Git - fw/sdcc/commitdiff
Give the argument of isCommutativeOp() the correct type.
authorwiml <wiml@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 6 Oct 2002 08:38:57 +0000 (08:38 +0000)
committerwiml <wiml@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 6 Oct 2002 08:38:57 +0000 (08:38 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2108 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/mcs51/ralloc.c

index aab641b6e4a9a859722e2353574b0858cca2da0b..b95be782224a6ec05d214b47a8bbfc69c395a530 100644 (file)
@@ -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)