Subject: Re: CVS commit: basesrc/bin/pax
To: None <source-changes@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: source-changes
Date: 10/26/2001 19:18:23
In article <20011026155845.41BB4B004@cvs.netbsd.org>,
Luke Mewburn <lukem@netbsd.org> wrote:
>
>Module Name:	basesrc
>Committed By:	lukem
>Date:		Fri Oct 26 15:58:44 UTC 2001
>
>Modified Files:
>	basesrc/bin/pax: ftree.c
>
>Log Message:
>Cast size_t's to (int) when printing as %d; appeases the sparc port.
>Found by Rob Windsor in [bin/14362].

The politically correct fix is to print with %lu and cast to unsigned long.
size_t is always unsigned [thus the u], and sometimes long.

christos