diff options
author | Christopher Faylor <me@cgf.cx> | 2002-09-30 06:51:22 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-09-30 06:51:22 +0400 |
commit | 9d1e72a175495da5e6fb65582909169fd4b8a4a3 (patch) | |
tree | e1dafddbbc31cce15fb5c0596941c8fda4f2e7e0 /winsup/cygwin/environ.cc | |
parent | 79ed43004f82508fc5b75e5eaf2f890cd63ad1fc (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/environ.cc')
-rw-r--r-- | winsup/cygwin/environ.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/environ.cc b/winsup/cygwin/environ.cc index d2385f39b..529049338 100644 --- a/winsup/cygwin/environ.cc +++ b/winsup/cygwin/environ.cc @@ -665,8 +665,8 @@ environ_init (char **envp, int envc) { for (int i = 0; conv_envvars[i].name != NULL; i++) { - conv_start_chars[cyg_tolower (conv_envvars[i].name[0])] = 1; - conv_start_chars[cyg_toupper (conv_envvars[i].name[0])] = 1; + conv_start_chars[(int) cyg_tolower (conv_envvars[i].name[0])] = 1; + conv_start_chars[(int) cyg_toupper (conv_envvars[i].name[0])] = 1; } initted = 1; } |