add casts on xgrab calls
This commit is contained in:
@@ -77,7 +77,7 @@ HB_FUNC( FT_DESCEND)
|
||||
{
|
||||
uiLen = hb_itemSize( iP );
|
||||
|
||||
pDescend = hb_xgrab( uiLen );
|
||||
pDescend = ( char *) hb_xgrab( uiLen );
|
||||
|
||||
hb_itemCopyC( iP, pDescend, uiLen );
|
||||
|
||||
|
||||
@@ -141,7 +141,7 @@ HB_FUNC(FT_GETE)
|
||||
buffsize++;
|
||||
|
||||
// now allocate that much memory and make sure 1st byte is a nul
|
||||
buffer = hb_xalloc(buffsize);
|
||||
buffer = ( char * ) hb_xalloc(buffsize);
|
||||
strcpy(buffer,"\0");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user