From 43b414e9f7b25e75ffbb7a773a96aed837fb77c8 Mon Sep 17 00:00:00 2001 From: Przemyslaw Czerpak Date: Tue, 29 Jul 2008 02:58:48 +0000 Subject: [PATCH] 2008-07-29 04:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/rtl/filesys.c ! fixed casting in DOS builds --- harbour/ChangeLog | 4 ++++ harbour/source/rtl/filesys.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 5d2a0cb5dc..189159292b 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,10 @@ 2008-12-31 13:59 UTC+0100 Foo Bar */ +2008-07-29 04:58 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) + * harbour/source/rtl/filesys.c + ! fixed casting in DOS builds + 2008-07-29 00:10 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * contrib/hbhpdf/Makefile ! Refixed to exclude hbhpdf from DOS builds. diff --git a/harbour/source/rtl/filesys.c b/harbour/source/rtl/filesys.c index 839f7f7b89..2c62366ddb 100644 --- a/harbour/source/rtl/filesys.c +++ b/harbour/source/rtl/filesys.c @@ -989,7 +989,7 @@ HB_EXPORT BOOL hb_fsGetAttr( BYTE * pszFileName, ULONG * pulAttr ) #elif defined( HB_OS_DOS ) { #if defined( __DJGPP__ ) || defined(__BORLANDC__) - int attr = _chmod( pszFileName, 0, 0 ); + int attr = _chmod( ( char * ) pszFileName, 0, 0 ); if( attr != -1 ) #else unsigned int attr = 0;