2010-03-06 21:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/src/compiler/gencc.c
    ! fixed wrongly used HB_LONG_{MAX,MIN} instead of LONG_{MAX,MIN}.
This commit is contained in:
Przemyslaw Czerpak
2010-03-06 20:27:13 +00:00
parent 3d6de8244c
commit 29fa3151d5
2 changed files with 6 additions and 2 deletions

View File

@@ -17,6 +17,10 @@
past entries belonging to author(s): Viktor Szakats.
*/
2010-03-06 21:27 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/compiler/gencc.c
! fixed wrongly used HB_LONG_{MAX,MIN} instead of LONG_{MAX,MIN}.
2010-03-06 18:33 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbxvm.h
* harbour/src/compiler/gencc.c

View File

@@ -237,8 +237,8 @@ static int hb_gencc_checkNumAhead( HB_LONG lValue, PFUNCTION pFunc, HB_ULONG lPC
fprintf( cargo->yyc, "\tif( hb_xvmAddInt( -%ld ) ) break;\n", lValue );
return 1;
}
#if -HB_LONG_MAX > HB_LONG_MIN
else if( lValue < -HB_LONG_MAX )
#if -LONG_MAX > LONG_MIN
else if( lValue < -LONG_MAX )
break;
#endif
lValue = -lValue;