diff --git a/harbour/source/macro/macro.y b/harbour/source/macro/macro.y index 255007565c..b4c877fe97 100644 --- a/harbour/source/macro/macro.y +++ b/harbour/source/macro/macro.y @@ -79,7 +79,7 @@ */ #if !defined(__GNUC__) && !defined(__IBMCPP__) - void __yy_memcpy ( char*, char*, unsigned int ); /* to satisfy Borland compiler */ + void __yy_memcpy ( char*, const char*, unsigned int ); /* to satisfy Borland compiler */ #endif #ifdef __GNUC__ diff --git a/harbour/source/rtl/filesys.c b/harbour/source/rtl/filesys.c index e590a51ef5..7dd92ec845 100644 --- a/harbour/source/rtl/filesys.c +++ b/harbour/source/rtl/filesys.c @@ -1239,7 +1239,7 @@ void hb_fsCommit( FHANDLE hFileHandle ) #if defined(HB_OS_WIN_32) - bResult = FlushFileBuffers( ( HANDLE ) hFileHandle ); + FlushFileBuffers( ( HANDLE ) hFileHandle ); s_uiErrorLast = ( USHORT ) GetLastError(); #elif defined(HB_OS_OS2)