summaryrefslogtreecommitdiff
path: root/win32/readdir.h
diff options
context:
space:
mode:
Diffstat (limited to 'win32/readdir.h')
-rw-r--r--win32/readdir.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/readdir.h b/win32/readdir.h
index 61876f3dc1..cc8e1a9a25 100644
--- a/win32/readdir.h
+++ b/win32/readdir.h
@@ -26,7 +26,7 @@ struct dirent {
/* typedef DIR - not the same as Unix */
struct DIR_W32 {
HANDLE handle; /* _findfirst/_findnext handle */
- uint16_t offset; /* offset into directory */
+ uint32_t offset; /* offset into directory */
uint8_t finished; /* 1 if there are not more files */
WIN32_FIND_DATAW fileinfo; /* from _findfirst/_findnext */
wchar_t *dirw; /* the dir we are reading */