summaryrefslogtreecommitdiff
path: root/TSRM
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-10-31 18:05:28 +0000
committerZeev Suraski <zeev@php.net>2000-10-31 18:05:28 +0000
commit8aecb3c984fe13397d14cd850963e921deb50bd9 (patch)
tree1e586ea4f850de778f206aa4e13ae66321593917 /TSRM
parent7ab46420be1edfd7681e88d864b7a7937bf19714 (diff)
downloadphp-git-8aecb3c984fe13397d14cd850963e921deb50bd9.tar.gz
mode_t should be an unsigned_int
Diffstat (limited to 'TSRM')
-rw-r--r--TSRM/tsrm_virtual_cwd.h2
1 files changed, 1 insertions, 1 deletions
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 <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) == '\\')