From 39d55d2d02f32beee0ea6a2b90255d16e5e3c2e5 Mon Sep 17 00:00:00 2001 From: Ron Pinkas Date: Tue, 10 Jul 2001 08:53:06 +0000 Subject: [PATCH] 2001-07-10 01:55 UTC-0800 Ron Pinkas * source/compiler/cmdcheck.c + Added missing type cast to resolve gcc warning. * source/pp/ppcore.c + Added missing type cast to resolve gcc warning. - Removed 4 redundant #includes already included by included hbcomp.h --- harbour/ChangeLog | 7 +++++++ harbour/source/compiler/cmdcheck.c | 2 +- harbour/source/pp/ppcore.c | 6 +----- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 0bb1df27f2..a0d40e7bde 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,3 +1,10 @@ +2001-07-10 01:55 UTC-0800 Ron Pinkas + * source/compiler/cmdcheck.c + + Added missing type cast to resolve gcc warning. + * source/pp/ppcore.c + + Added missing type cast to resolve gcc warning. + - Removed 4 redundant #includes already included by included hbcomp.h + 2001-07-10 10:40 GMT+2 Maurilio Longo * source/rtl/browse.prg ! fixed status line display diff --git a/harbour/source/compiler/cmdcheck.c b/harbour/source/compiler/cmdcheck.c index 75a99f59aa..63448e68c5 100644 --- a/harbour/source/compiler/cmdcheck.c +++ b/harbour/source/compiler/cmdcheck.c @@ -262,7 +262,7 @@ void hb_compChkCompilerSwitch( int iArg, char * Args[] ) case 'G' : /* Required argument */ Switch[2] = Args[i][j + 1]; - if( isdigit( Args[i][j + 2] ) ) + if( isdigit( (int) Args[i][j + 2] ) ) { /* Optional argument */ Switch[3] = Args[i][j + 2]; diff --git a/harbour/source/pp/ppcore.c b/harbour/source/pp/ppcore.c index 8dc161f35c..f237c0a157 100644 --- a/harbour/source/pp/ppcore.c +++ b/harbour/source/pp/ppcore.c @@ -75,10 +75,6 @@ #endif #endif -#include -#include -#include -#include #include #include @@ -3802,7 +3798,7 @@ static int NextParm( char ** sSource, char * sDest ) static BOOL IsIdentifier( char *szProspect ) { - if( isalpha( szProspect[0] ) || szProspect[0] == '_' ) + if( isalpha( (int) szProspect[0] ) || szProspect[0] == '_' ) { int i = 1;