From 18001eebe1cb0ad71d560ec1bbec2f35da076ea2 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Thu, 3 Jan 2002 22:22:07 +0000 Subject: [PATCH] fix to prev --- harbour/source/macro/macro.y | 2 +- harbour/source/rtl/filesys.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)