- (dtucker) [openbsd-compat/bsd-cygwin_util.c] Make loop counter unsigned

to silence compiler warning, from vinschen at redhat.com.
This commit is contained in:
Darren Tucker 2006-02-12 11:59:08 +11:00
parent 988b3fd161
commit 84af61555a
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
20060212
- (dtucker) [openbsd-compat/bsd-cygwin_util.c] Make loop counter unsigned
to silence compiler warning, from vinschen at redhat.com.
20060208 20060208
- (tim) [session.c] Logout records were not updated on systems with - (tim) [session.c] Logout records were not updated on systems with
post auth privsep disabled due to bug 1086 changes. Analysis and patch post auth privsep disabled due to bug 1086 changes. Analysis and patch
@ -3847,4 +3851,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
$Id: ChangeLog,v 1.4125 2006/02/08 11:11:27 dtucker Exp $ $Id: ChangeLog,v 1.4126 2006/02/12 00:59:08 dtucker Exp $

View File

@ -29,7 +29,7 @@
#include "includes.h" #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 #ifdef HAVE_CYGWIN
@ -268,7 +268,7 @@ char **
fetch_windows_environment(void) fetch_windows_environment(void)
{ {
char **e, **p; char **e, **p;
int i, idx = 0; unsigned int i, idx = 0;
p = xmalloc((WENV_SIZ + 1) * sizeof(char *)); p = xmalloc((WENV_SIZ + 1) * sizeof(char *));
for (e = environ; *e != NULL; ++e) { for (e = environ; *e != NULL; ++e) {