diff options
author | Christopher Faylor <me@cgf.cx> | 2002-09-30 02:51:22 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-09-30 02:51:22 +0000 |
commit | 9d1e72a175495da5e6fb65582909169fd4b8a4a3 (patch) | |
tree | e1dafddbbc31cce15fb5c0596941c8fda4f2e7e0 /winsup/cygwin/path.cc | |
parent | 79ed43004f82508fc5b75e5eaf2f890cd63ad1fc (diff) | |
download | cygnal-9d1e72a175495da5e6fb65582909169fd4b8a4a3.tar.gz cygnal-9d1e72a175495da5e6fb65582909169fd4b8a4a3.tar.bz2 cygnal-9d1e72a175495da5e6fb65582909169fd4b8a4a3.zip |
* environ.cc (environ_init): Avoid a compiler warning.
* path.cc (path_conv::check): Ditto.
* path.h (path_conv::operator int): Ditto.
* regex/engine.c: Ditto throughout.
* regex/regcomp.c: Ditto throughout.
* regex/regexec.c: Ditto throughout.
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 || |