Add missing cast to xgrab call
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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' )
|
||||
|
||||
Reference in New Issue
Block a user