aboutsummaryrefslogtreecommitdiff
path: root/compat/win32/dirent.h
diff options
context:
space:
mode:
Diffstat (limited to 'compat/win32/dirent.h')
-rw-r--r--compat/win32/dirent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/win32/dirent.h b/compat/win32/dirent.h
index 8838cd61f..058207e4b 100644
--- a/compat/win32/dirent.h
+++ b/compat/win32/dirent.h
@@ -10,7 +10,7 @@ typedef struct DIR DIR;
struct dirent {
unsigned char d_type; /* file type to prevent lstat after readdir */
- char d_name[MAX_PATH]; /* file name */
+ char d_name[MAX_PATH * 3]; /* file name (* 3 for UTF-8 conversion) */
};
DIR *opendir(const char *dirname);