From: Zeev Suraski Date: Tue, 31 Oct 2000 18:05:28 +0000 (+0000) Subject: mode_t should be an unsigned_int X-Git-Tag: php-4.0.4RC3~412 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8aecb3c984fe13397d14cd850963e921deb50bd9;p=php mode_t should be an unsigned_int --- diff --git a/TSRM/tsrm_virtual_cwd.h b/TSRM/tsrm_virtual_cwd.h index db0afdd897..fa17efbb5f 100644 --- a/TSRM/tsrm_virtual_cwd.h +++ b/TSRM/tsrm_virtual_cwd.h @@ -44,7 +44,7 @@ #include "readdir.h" #include /* 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) == '\\')