Changed the type of the result of the ! (NOT) operator to char;
[fw/sdcc] / src / SDCCicode.c
index eac7ec101b03bae495ee0353fc33b12be159b045..abafe41ffb64f990d03481a4fce45809f17597a7 100644 (file)
@@ -3637,11 +3637,11 @@ ast2iCode (ast * tree,int lvl)
 #endif
 
     case '~':
-    case '!':
     case RRC:
     case RLC:
       return geniCodeUnary (geniCodeRValue (left, FALSE), tree->opval.op);
 
+    case '!':
     case GETHBIT:
       {
        operand *op = geniCodeUnary (geniCodeRValue (left, FALSE), tree->opval.op);