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 f1fb3a736f..d9ae477af0 100644
--- a/win32/readdir.h
+++ b/win32/readdir.h
@@ -32,7 +32,7 @@ struct dirent {
/* typedef DIR - not the same as Unix */
typedef struct {
HANDLE handle; /* _findfirst/_findnext handle */
- short offset; /* offset into directory */
+ int offset; /* offset into directory */
short finished; /* 1 if there are not more files */
WIN32_FIND_DATA fileinfo; /* from _findfirst/_findnext */
char *dir; /* the dir we are reading */