From 6be58420c80bc3942f5abdf5cca871dc127c173c Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Fri, 2 Jun 2000 01:55:16 +0000 Subject: [PATCH] 2000-06-02 02:54 UTC+0100 Victor Szakats --- harbour/ChangeLog | 3 +++ harbour/source/compiler/harbour.y | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 288fe20a3b..d1ec541a08 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -13,6 +13,9 @@ * source/compiler/harbour.c ! Fixed GCC -O2 warning. + * source/compiler/harbour.y + ! Two RSXNT warnings fixed. + 2000-06-01 22:18 UTC+0100 Victor Szakats * source/lang/msgcswin.c diff --git a/harbour/source/compiler/harbour.y b/harbour/source/compiler/harbour.y index e543ae9920..55ef06b53f 100644 --- a/harbour/source/compiler/harbour.y +++ b/harbour/source/compiler/harbour.y @@ -1166,7 +1166,7 @@ DecMethod : IdentName '(' { hb_comp_pLastMethod = hb_compMethodAdd( hb_comp_pLa if( ! hb_comp_pLastMethod->pClass ) { hb_compGenWarning( hb_comp_szWarnings, 'W', HB_COMP_WARN_CLASS_NOT_FOUND, hb_comp_szFromClass, hb_comp_pLastMethod->szName ); - hb_comp_pLastMethod->cType = ( isupper( hb_comp_cVarType ) ? 'O' : 'o' ); + hb_comp_pLastMethod->cType = ( isupper( ( int ) hb_comp_cVarType ) ? 'O' : 'o' ); } /* Resetting */ @@ -1193,7 +1193,7 @@ DecData : IdentName { hb_comp_pLastMethod = hb_compMethodAdd( hb_comp_pLastCl if( ! hb_comp_pLastMethod->pClass ) { hb_compGenWarning( hb_comp_szWarnings, 'W', HB_COMP_WARN_CLASS_NOT_FOUND, hb_comp_szFromClass, hb_comp_pLastMethod->szName ); - hb_comp_pLastMethod->cType = ( isupper( hb_comp_cVarType ) ? 'O' :'o' ); + hb_comp_pLastMethod->cType = ( isupper( ( int ) hb_comp_cVarType ) ? 'O' :'o' ); } } else