From 38c0489092153f5b88a1831d6e916549fd1687c4 Mon Sep 17 00:00:00 2001 From: Boudewijn Dekker Date: Sun, 21 Feb 1999 13:32:17 +0000 Subject: [PATCH] Changed some header file from djgpp to mingw32 svn path=/trunk/; revision=260 --- reactos/lib/crtdll/io/unlink.c | 2 +- reactos/lib/crtdll/io/write.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/lib/crtdll/io/unlink.c b/reactos/lib/crtdll/io/unlink.c index ca71713e1d6..c051e604b61 100644 --- a/reactos/lib/crtdll/io/unlink.c +++ b/reactos/lib/crtdll/io/unlink.c @@ -13,7 +13,7 @@ int _unlink( const char *filename ) { - if ( !DeleteFile(filename) ) + if ( !DeleteFileA(filename) ) return -1; return 0; } diff --git a/reactos/lib/crtdll/io/write.c b/reactos/lib/crtdll/io/write.c index 15c9285255d..4209b0bed8a 100644 --- a/reactos/lib/crtdll/io/write.c +++ b/reactos/lib/crtdll/io/write.c @@ -14,7 +14,7 @@ size_t _write(int _fd, const void *_buf, size_t _nbyte) { size_t _wbyte; - if ( !WriteFile(_get_osfhandle(_fd),_buf,_nbyte,&_wbyte,NULL) ) { + if ( !WriteFile(_get_osfhandle(_fd),_buf,_nbyte,(DWORD *)&_wbyte,NULL) ) { return -1; } return _wbyte;