Hi, I´m trying to compile my app with latest SVN and I have a lot of Suspicious pointer conversion in function like this:
---cut--- HB_FUNC( XTL_DISPLAY ) { PHB_ITEM pText = hb_param( 2, HB_IT_STRING ); if( pText ) { char * pszBuffer = hb_itemGetCPtr( pText ); int iLen = hb_itemGetCLen( pText ); int i; for( i = 0; i < iLen; i++ ) { XTL_Echo( ( BYTE ) hb_parni( 1 ), pszBuffer[ i ] ); } } } ---cut--- and here too: ---cut--- LPSTR cText = hb_parcx( 3 ); ---cut--- What is the best way to convert it please ? Regards, Toninho. __________________________________________________ Faça ligações para outros computadores com o novo Yahoo! Messenger http://br.beta.messenger.yahoo.com/ _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour