From: johanknol Date: Thu, 15 Mar 2001 13:59:34 +0000 (+0000) Subject: fixed typo X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=16a793bfdcf62ae74b159c9a99a5299ca356df23;p=fw%2Fsdcc fixed typo git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@684 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/ds390/gen.c b/src/ds390/gen.c index 148db3d3..57515424 100644 --- a/src/ds390/gen.c +++ b/src/ds390/gen.c @@ -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); diff --git a/src/mcs51/gen.c b/src/mcs51/gen.c index c3727775..d4ef962c 100644 --- a/src/mcs51/gen.c +++ b/src/mcs51/gen.c @@ -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);