diff options
author | Darren Tucker <dtucker@zip.com.au> | 2006-02-12 11:59:08 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2006-02-12 11:59:08 +1100 |
commit | 84af61555a62e39c583522ec1ab356cd595846b3 (patch) | |
tree | 40d32dafe3cfbbeb80cc183d862658d8f4e14470 /openbsd-compat/bsd-cygwin_util.c | |
parent | 988b3fd161e678c7efc5a9974b51ecc3e2ad8a7b (diff) |
- (dtucker) [openbsd-compat/bsd-cygwin_util.c] Make loop counter unsigned
to silence compiler warning, from vinschen at redhat.com.
Diffstat (limited to 'openbsd-compat/bsd-cygwin_util.c')
-rw-r--r-- | openbsd-compat/bsd-cygwin_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd-compat/bsd-cygwin_util.c b/openbsd-compat/bsd-cygwin_util.c index b5e3cc52..96be7fec 100644 --- a/openbsd-compat/bsd-cygwin_util.c +++ b/openbsd-compat/bsd-cygwin_util.c @@ -29,7 +29,7 @@ #include "includes.h" -RCSID("$Id: bsd-cygwin_util.c,v 1.14 2005/05/25 09:42:11 dtucker Exp $"); +RCSID("$Id: bsd-cygwin_util.c,v 1.15 2006/02/12 00:59:09 dtucker Exp $"); #ifdef HAVE_CYGWIN @@ -268,7 +268,7 @@ char ** fetch_windows_environment(void) { char **e, **p; - int i, idx = 0; + unsigned int i, idx = 0; p = xmalloc((WENV_SIZ + 1) * sizeof(char *)); for (e = environ; *e != NULL; ++e) { |