diff options
-rw-r--r-- | winsup/cygwin/path.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/path.h b/winsup/cygwin/path.h index c1cdc554b..f3dffe719 100644 --- a/winsup/cygwin/path.h +++ b/winsup/cygwin/path.h @@ -438,7 +438,7 @@ const char *__reg3 find_exec (const char *name, path_conv& buf, const char **known_suffix = NULL); /* Common macros for checking for invalid path names */ -#define isdrive(s) (isalpha (*(s)) && (s)[1] == ':') +#define isdrive(s) (isalpha ((unsigned char) *(s)) && (s)[1] == ':') #define iswdrive(s) (iswalpha (*(s)) && (s)[1] == L':') static inline bool |