Add missing cast to xgrab call

This commit is contained in:
Paul Tucker
2000-05-24 04:25:29 +00:00
parent c781ff65df
commit cb5c7083d4
2 changed files with 5 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
20000523-22:47 DST Paul Tucker <ptucker@sympatico.ca>
* source/compiler/harbour.y
* added cast to xgrab call
2000-05-23 16:45 GMT-4 David G. Holm <dholm@jsd-llc.com>
* source/rtl/tgetlist.prg

View File

@@ -1177,7 +1177,7 @@ DecMethod : IdentName '(' { hb_comp_pLastMethod = hb_compMethodAdd( hb_comp_pLa
DecData : IdentName { hb_comp_pLastMethod = hb_compMethodAdd( hb_comp_pLastClass, $1 ); } AsType { if ( hb_comp_pLastMethod )
{
PCOMCLASS pClass;
char * szSetData = hb_xgrab( strlen( $1 ) + 2 );
char * szSetData = ( char * ) hb_xgrab( strlen( $1 ) + 2 );
hb_comp_pLastMethod->cType = hb_comp_cVarType;
if ( toupper( hb_comp_cVarType ) == 'S' )