Added a cast on xgrab call

This commit is contained in:
Paul Tucker
1999-11-30 09:41:59 +00:00
parent a9a09de790
commit 06da4c714d
2 changed files with 5 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
19991130-04:30 EST Paul Tucker <ptucker@sympatico.ca>
* source/pp/hbpp.c
* added a cast on xgrab call.
19991130-01:55 GMT+1 Victor Szel <info@szelvesz.hu>
* tests/regress/rt_trans.prg
+ ~200 TRANSFORM() regression tests added, 43 of them fail.

View File

@@ -2543,7 +2543,7 @@ static void DebugPragma( char * szStr, int iValue, BOOL bValue )
if( s_bTracePragma )
{
char * ptr = strchr( szStr, '=' );
char * temp = hb_xgrab( strlen( szStr ) + 1 );
char * temp = ( char * ) hb_xgrab( strlen( szStr ) + 1 );
BOOL bIsSwitch = TRUE;
* temp = '\0';