bsd-cygwin_util.c compiler warning (Was Re: OpenSSH_4.3p1 configure patch)

Darren Tucker dtucker at zip.com.au
Wed Feb 8 00:02:55 EST 2006


On Mon, Feb 06, 2006 at 12:06:55PM +0100, Corinna Vinschen wrote:
> Can we add this patch to get rid of an annoying compiler warning?
[...]
> --- bsd-cygwin_util.c.ORIG	2006-02-06 12:06:17.657591500 +0100
> +++ bsd-cygwin_util.c	2006-02-06 10:55:57.543851300 +0100
> @@ -268,7 +268,7 @@ char **
>  fetch_windows_environment(void)
>  {
>  	char **e, **p;
> -	int i, idx = 0;
> +	unsigned int i, idx = 0;

Fine by me.  Any objections?

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.




More information about the openssh-unix-dev mailing list