diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 7aa643cf2..b72927803 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,11 @@ +2004-03-30 Danny Smith + + * include/io.h: (_findfirst): Correct prototype. + +2004-03-30 Hans Leidekker + + * include/io.h: (_findnext, _findclose): Correct prototype. + 2004-03-28 Hans Leidekker * include/math.h (FP_*): Add defines. 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);