2008-07-22 12:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

* harbour/source/rtl/filesys.c
    * casting for DOS OpenWatcom builds and added missing header file
This commit is contained in:
Przemyslaw Czerpak
2008-07-22 10:55:58 +00:00
parent 6058ac88f0
commit fb434be153
2 changed files with 7 additions and 1 deletions

View File

@@ -8,6 +8,10 @@
2008-12-31 13:59 UTC+0100 Foo Bar <foo.bar@foobar.org>
*/
2008-07-22 12:55 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/filesys.c
* casting for DOS OpenWatcom builds and added missing header file
2008-07-22 12:30 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/source/rtl/gtwvt/gtwvt.c
* disabled SetWindowLongPtr() in 32bit MSVC WinCE builds

View File

@@ -180,10 +180,12 @@
#if defined(HB_OS_DOS)
#include <dos.h>
#include <time.h>
#elif defined(HB_OS_OS2)
#include <sys/signal.h>
#include <sys/process.h>
#include <sys/wait.h>
#include <time.h>
#include <share.h>
#ifndef SH_COMPAT
#define SH_COMPAT 0x0000
@@ -990,7 +992,7 @@ HB_EXPORT BOOL hb_fsGetAttr( BYTE * pszFileName, ULONG * pulAttr )
if( attr != -1 )
#else
unsigned int attr = 0;
if( _dos_getfileattr( pszFileName, &attr ) == 0 )
if( _dos_getfileattr( ( char * ) pszFileName, &attr ) == 0 )
#endif
{
*pulAttr = hb_fsAttrFromRaw( attr );