mode_t should be an unsigned_int

This commit is contained in:
Zeev Suraski 2000-10-31 18:05:28 +00:00
parent 7ab46420be
commit 8aecb3c984

View 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) == '\\')