Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2002 00:23:38 -0400
From:      Mike Barcroft <mike@FreeBSD.org>
To:        Kimura Fuyuki <fuyuki@hadaly.org>
Cc:        fanf@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.bin/uudecode uudecode.c
Message-ID:  <20020911002338.A73618@espresso.q9media.com>
In-Reply-To: <86ptvlw7k5.wl@hadaly.dyndns.org>; from fuyuki@hadaly.org on Wed, Sep 11, 2002 at 12:04:26PM %2B0900
References:  <200209110100.g8B10uuh023018@freefall.freebsd.org> <20020910224200.A73565@espresso.q9media.com> <86ptvlw7k5.wl@hadaly.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Kimura Fuyuki <fuyuki@hadaly.org> writes:
> `n' can be minus...
> 
> Index: uudecode.c
> ===================================================================
> RCS file: /home/ncvs/src/usr.bin/uudecode/uudecode.c,v
> retrieving revision 1.39
> diff -u -r1.39 uudecode.c
> --- uudecode.c	11 Sep 2002 01:00:56 -0000	1.39
> +++ uudecode.c	11 Sep 2002 02:59:47 -0000
> @@ -153,7 +153,7 @@
>  decode2(void)
>  {
>  	int base64;
> -	size_t n;
> +	int n;
>  	char ch, *p, *q;
>  	void *mode;
>  	struct passwd *pw;
> 

Unfortunately this wasn't good enough since most uses of n needed to
be size_t.  I've added a new variable to cope.  It seems to build
share, so hopefully world is unbroken again.  Thanks for the pointer.
I thought I checked all the uses of n, but didn't notice the last few.

Best regards,
Mike Barcroft

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020911002338.A73618>