diff options
Diffstat (limited to 'winsup/mingw/include/dirent.h')
-rw-r--r-- | winsup/mingw/include/dirent.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/winsup/mingw/include/dirent.h b/winsup/mingw/include/dirent.h index e2a668924..44fb1c0a8 100644 --- a/winsup/mingw/include/dirent.h +++ b/winsup/mingw/include/dirent.h @@ -43,10 +43,10 @@ typedef struct struct dirent dd_dir; /* _findnext handle */ - long dd_handle; + intptr_t dd_handle; /* - * Status of search: + * Status of search: * 0 = not started yet (next entry to read is first entry) * -1 = off the end * positive = 0 based index of next entry @@ -90,10 +90,10 @@ typedef struct struct _wdirent dd_dir; /* _findnext handle */ - long dd_handle; + intptr_t dd_handle; /* - * Status of search: + * Status of search: * 0 = not started yet (next entry to read is first entry) * -1 = off the end * positive = 0 based index of next entry @@ -104,8 +104,6 @@ typedef struct wchar_t dd_name[1]; } _WDIR; - - _WDIR* __cdecl __MINGW_NOTHROW _wopendir (const wchar_t*); struct _wdirent* __cdecl __MINGW_NOTHROW _wreaddir (_WDIR*); int __cdecl __MINGW_NOTHROW _wclosedir (_WDIR*); |