From 8aecb3c984fe13397d14cd850963e921deb50bd9 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Tue, 31 Oct 2000 18:05:28 +0000 Subject: [PATCH] mode_t should be an unsigned_int --- TSRM/tsrm_virtual_cwd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TSRM/tsrm_virtual_cwd.h b/TSRM/tsrm_virtual_cwd.h index db0afdd897a..fa17efbb5fd 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) == '\\')