add casts on xgrab calls

This commit is contained in:
Paul Tucker
2000-04-24 06:39:11 +00:00
parent 9c3c8bfc56
commit 7c7df21cdc
2 changed files with 2 additions and 2 deletions

View File

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

View File

@@ -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");
}