diff options
Diffstat (limited to 'src/port/path.c')
-rw-r--r-- | src/port/path.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/port/path.c b/src/port/path.c index 818b3212c43..4acb8046bfc 100644 --- a/src/port/path.c +++ b/src/port/path.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/port/path.c,v 1.67 2006/09/11 20:10:30 tgl Exp $ + * $PostgreSQL: pgsql/src/port/path.c,v 1.68 2006/09/22 21:39:58 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -69,7 +69,7 @@ skip_drive(const char *path) while (*path && !IS_DIR_SEP(*path)) path++; } - else if (isalpha(path[0]) && path[1] == ':') + else if (isalpha((unsigned char) path[0]) && path[1] == ':') { path += 2; } |