From 4289ebdbfb53d0ab767e21b5c3f1abcc6b7a4479 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Tue, 30 Mar 2004 21:49:12 +0000 Subject: 2004-03-30 Danny Smith * include/io.h: (_findfirst): Correct prototype. 2004-03-30 Hans Leidekker * include/io.h: (_findnext, _findclose): Correct prototype. --- winsup/mingw/include/io.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'winsup/mingw/include') diff --git a/winsup/mingw/include/io.h b/winsup/mingw/include/io.h index 83498044f..c559f60ec 100644 --- a/winsup/mingw/include/io.h +++ b/winsup/mingw/include/io.h @@ -138,9 +138,9 @@ extern "C" { * and 0 if a match was found. Call _findclose when you are finished. */ /* FIXME: Should these all use intptr_t, as per recent MSDN docs? */ -_CRTIMP int __cdecl _findfirst (const char*, struct _finddata_t*); -_CRTIMP int __cdecl _findnext (int, struct _finddata_t*); -_CRTIMP int __cdecl _findclose (int); +_CRTIMP long __cdecl _findfirst (const char*, struct _finddata_t*); +_CRTIMP int __cdecl _findnext (long, struct _finddata_t*); +_CRTIMP int __cdecl _findclose (long); _CRTIMP int __cdecl _chdir (const char*); _CRTIMP char* __cdecl _getcwd (char*, int); -- cgit v1.2.3