summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-02-12 11:59:08 +1100
committerDarren Tucker <dtucker@zip.com.au>2006-02-12 11:59:08 +1100
commit84af61555a62e39c583522ec1ab356cd595846b3 (patch)
tree40d32dafe3cfbbeb80cc183d862658d8f4e14470
parent988b3fd161e678c7efc5a9974b51ecc3e2ad8a7b (diff)
- (dtucker) [openbsd-compat/bsd-cygwin_util.c] Make loop counter unsigned
to silence compiler warning, from vinschen at redhat.com.
-rw-r--r--ChangeLog6
-rw-r--r--openbsd-compat/bsd-cygwin_util.c4
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 357d7a8cf..969180384 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
120060212
2 - (dtucker) [openbsd-compat/bsd-cygwin_util.c] Make loop counter unsigned
3 to silence compiler warning, from vinschen at redhat.com.
4
120060208 520060208
2 - (tim) [session.c] Logout records were not updated on systems with 6 - (tim) [session.c] Logout records were not updated on systems with
3 post auth privsep disabled due to bug 1086 changes. Analysis and patch 7 post auth privsep disabled due to bug 1086 changes. Analysis and patch
@@ -3847,4 +3851,4 @@
3847 - (djm) Trim deprecated options from INSTALL. Mention UsePAM 3851 - (djm) Trim deprecated options from INSTALL. Mention UsePAM
3848 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu 3852 - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
3849 3853
3850$Id: ChangeLog,v 1.4125 2006/02/08 11:11:27 dtucker Exp $ 3854$Id: ChangeLog,v 1.4126 2006/02/12 00:59:08 dtucker Exp $
diff --git a/openbsd-compat/bsd-cygwin_util.c b/openbsd-compat/bsd-cygwin_util.c
index b5e3cc52b..96be7fecd 100644
--- a/openbsd-compat/bsd-cygwin_util.c
+++ b/openbsd-compat/bsd-cygwin_util.c
@@ -29,7 +29,7 @@
29 29
30#include "includes.h" 30#include "includes.h"
31 31
32RCSID("$Id: bsd-cygwin_util.c,v 1.14 2005/05/25 09:42:11 dtucker Exp $"); 32RCSID("$Id: bsd-cygwin_util.c,v 1.15 2006/02/12 00:59:09 dtucker Exp $");
33 33
34#ifdef HAVE_CYGWIN 34#ifdef HAVE_CYGWIN
35 35
@@ -268,7 +268,7 @@ char **
268fetch_windows_environment(void) 268fetch_windows_environment(void)
269{ 269{
270 char **e, **p; 270 char **e, **p;
271 int i, idx = 0; 271 unsigned int i, idx = 0;
272 272
273 p = xmalloc((WENV_SIZ + 1) * sizeof(char *)); 273 p = xmalloc((WENV_SIZ + 1) * sizeof(char *));
274 for (e = environ; *e != NULL; ++e) { 274 for (e = environ; *e != NULL; ++e) {