2014-03-04 04:03 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)

* src/vm/set.c
  * src/vm/memvars.c
  * src/rtl/copyfile.c
    ! casting and pacified warnings
This commit is contained in:
Przemysław Czerpak
2014-03-04 04:03:14 +01:00
parent 2c302ae7fa
commit 624698cd5a
4 changed files with 9 additions and 4 deletions

View File

@@ -10,6 +10,12 @@
* Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
*/
2014-03-04 04:03 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* src/vm/set.c
* src/vm/memvars.c
* src/rtl/copyfile.c
! casting and pacified warnings
2014-03-04 01:56 UTC+0100 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* include/hbchksum.h
* src/rtl/hbmd5.c

View File

@@ -106,10 +106,10 @@ static HB_BOOL hb_copyfile( const char * pszSource, const char * pszDest )
if( pDest != NULL )
{
void * buffer;
HB_UCHAR * buffer;
HB_SIZE nRead;
buffer = hb_xgrab( BUFFER_SIZE );
buffer = ( HB_UCHAR * ) hb_xgrab( BUFFER_SIZE );
bRetVal = HB_TRUE;
while( ( nRead = hb_fileRead( pSource, buffer, BUFFER_SIZE, -1 ) ) != 0 )

View File

@@ -1588,7 +1588,7 @@ HB_FUNC( __MVRESTORE )
uiWidth += uiDec * 256;
pbyString = ( HB_BYTE * ) hb_xgrab( uiWidth );
if( hb_fileRead( fhnd, pbyString, uiWidth, -1 ) == uiWidth )
if( hb_fileRead( fhnd, pbyString, uiWidth, -1 ) == ( HB_SIZE ) uiWidth )
pItem = hb_itemPutCLPtr( pItem, ( char * ) pbyString, uiWidth - 1 );
else
{

View File

@@ -320,7 +320,6 @@ static void open_handle( PHB_SET_STRUCT pSet, const char * file_name,
/* QUESTION: What sharing mode does Clipper use ? [vszakats] */
handle = NULL;
do
{
if( bPipe )