diff options
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r-- | winsup/cygwin/path.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index 29e21674b..22ac83a63 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -805,7 +805,7 @@ out: mkrelpath (this->path); if (need_directory) { - char n = strlen (this->path); + size_t n = strlen (this->path); /* Do not add trailing \ to UNC device names like \\.\a: */ if (this->path[n - 1] != '\\' && (strncmp (this->path, "\\\\.\\", 4) != 0 || |