* 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.
This commit is contained in:
Christopher Faylor
2002-09-30 02:51:22 +00:00
parent 79ed43004f
commit 9d1e72a175
10 changed files with 24 additions and 16 deletions

View File

@@ -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 ||