]> granicus.if.org Git - php/commitdiff
mode_t should be an unsigned_int
authorZeev Suraski <zeev@php.net>
Tue, 31 Oct 2000 18:05:28 +0000 (18:05 +0000)
committerZeev Suraski <zeev@php.net>
Tue, 31 Oct 2000 18:05:28 +0000 (18:05 +0000)
TSRM/tsrm_virtual_cwd.h

index db0afdd897a81e942b73d811676476dcd0ff5b91..fa17efbb5fdad877cfd23cab68b67d341cb925e5 100644 (file)
@@ -44,7 +44,7 @@
 #include "readdir.h"
 #include <sys/utime.h>
 /* mode_t isn't defined on Windows */
-typedef int mode_t;
+typedef unsigned short mode_t;
 
 #define DEFAULT_SLASH '\\'
 #define IS_SLASH(c)    ((c) == '/' || (c) == '\\')