Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2002-09-30 06:51:22 +0400
committerChristopher Faylor <me@cgf.cx>2002-09-30 06:51:22 +0400
commit9d1e72a175495da5e6fb65582909169fd4b8a4a3 (patch)
treee1dafddbbc31cce15fb5c0596941c8fda4f2e7e0 /winsup/cygwin/path.cc
parent79ed43004f82508fc5b75e5eaf2f890cd63ad1fc (diff)
* 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.cc2
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 ||