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:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user