2014-01-30 10:34 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* contrib/hbtip/utils.c
* src/rtl/gtwvt/gtwvt.c
* casting to pacify some warnings
* src/compiler/harbour.y
* src/compiler/harbour.yyc
* src/compiler/harbour.yyh
* changed type of valChar.length from int to HB_SIZE
* include/hbpp.h
* src/pp/ppcore.c
* changed type of last hb_pp_tokenBlockString() parameter
from int * to HB_SIZE *
* src/compiler/complex.c
* removed unnecessary casting
This commit is contained in:
@@ -6315,7 +6315,7 @@ void hb_pp_tokenToString( PHB_PP_STATE pState, PHB_PP_TOKEN pToken )
|
||||
}
|
||||
|
||||
char * hb_pp_tokenBlockString( PHB_PP_STATE pState, PHB_PP_TOKEN pToken,
|
||||
int * piType, int * piLen )
|
||||
int * piType, HB_SIZE * pnLen )
|
||||
{
|
||||
*piType = 0;
|
||||
hb_membufFlush( pState->pBuffer );
|
||||
@@ -6345,7 +6345,7 @@ char * hb_pp_tokenBlockString( PHB_PP_STATE pState, PHB_PP_TOKEN pToken,
|
||||
}
|
||||
while( iBraces && ! HB_PP_TOKEN_ISEOC( pToken ) );
|
||||
}
|
||||
*piLen = ( int ) hb_membufLen( pState->pBuffer );
|
||||
*pnLen = hb_membufLen( pState->pBuffer );
|
||||
hb_membufAddCh( pState->pBuffer, '\0' );
|
||||
return hb_membufPtr( pState->pBuffer );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user