fixed typo
authorjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 15 Mar 2001 13:59:34 +0000 (13:59 +0000)
committerjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Thu, 15 Mar 2001 13:59:34 +0000 (13:59 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@684 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/ds390/gen.c
src/mcs51/gen.c

index 148db3d327319824d23782561ab3e1107c2895e7..57515424c1fa96ce9f7997d1c5f01e3dd5a637c5 100644 (file)
@@ -3696,7 +3696,7 @@ genMultOneByte (operand * left,
   int size=AOP_SIZE(result);
 
   emitcode (";",__FUNCTION__);
-  if (size<1 || size>=2) {
+  if (size<1 || size>2) {
     // this should never happen
       fprintf (stderr, "size!=1||2 (%d) in %s at line:%d \n", 
               AOP_SIZE(result), __FUNCTION__, lineno);
index c372777537c743a902a26b1cbe1881e1cbd9e158..d4ef962c378069d78f24af50f3500b004d522556 100644 (file)
@@ -3256,7 +3256,7 @@ genMultOneByte (operand * left,
   int size=AOP_SIZE(result);
 
   //emitcode (";",__FUNCTION__);
-  if (size<1 || size>=2) {
+  if (size<1 || size>2) {
     // this should never happen
       fprintf (stderr, "size!=1||2 (%d) in %s at line:%d \n", 
               AOP_SIZE(result), __FUNCTION__, lineno);