2001-07-10 01:55 UTC-0800 Ron Pinkas <ron@profit-master.com>

* 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
This commit is contained in:
Ron Pinkas
2001-07-10 08:53:06 +00:00
parent 2c1b30687b
commit 39d55d2d02
3 changed files with 9 additions and 6 deletions

View File

@@ -1,3 +1,10 @@
2001-07-10 01:55 UTC-0800 Ron Pinkas <ron@profit-master.com>
* 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 <maurilio.longo@libero.it>
* source/rtl/browse.prg
! fixed status line display

View File

@@ -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];

View File

@@ -75,10 +75,6 @@
#endif
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <time.h>
#include <errno.h>
@@ -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;