diff options
author | steve <steve@FreeBSD.org> | 1996-12-14 06:08:03 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1996-12-14 06:08:03 +0000 |
commit | c5d0f9cb3928db35413db774a96dc2a8eb85b141 (patch) | |
tree | 2f12bbee87f3b5e7477f863c11ba6545497513ad /bin/pax/cache.c | |
parent | 0aef04187c65f5b7c84d848d3becef7ee602a9d9 (diff) | |
download | FreeBSD-src-c5d0f9cb3928db35413db774a96dc2a8eb85b141.zip FreeBSD-src-c5d0f9cb3928db35413db774a96dc2a8eb85b141.tar.gz |
-Wall cleaning.
Diffstat (limited to 'bin/pax/cache.c')
-rw-r--r-- | bin/pax/cache.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/pax/cache.c b/bin/pax/cache.c index 6ffe469..ba416ca 100644 --- a/bin/pax/cache.c +++ b/bin/pax/cache.c @@ -34,11 +34,11 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: cache.c,v 1.2 1994/09/24 02:56:14 davidg Exp $ + * $Id: cache.c,v 1.3 1995/10/23 21:23:02 ache Exp $ */ #ifndef lint -static char sccsid[] = "@(#)cache.c 8.1 (Berkeley) 5/31/93"; +static char const sccsid[] = "@(#)cache.c 8.1 (Berkeley) 5/31/93"; #endif /* not lint */ #include <sys/types.h> @@ -244,7 +244,7 @@ name_uid(uid, frc) # ifdef NET2_STAT (void)sprintf(ptr->name, "%u", uid); # else - (void)sprintf(ptr->name, "%lu", uid); + (void)sprintf(ptr->name, "%lu", (u_long)uid); # endif if (frc == 0) return(""); @@ -321,7 +321,7 @@ name_gid(gid, frc) # ifdef NET2_STAT (void)sprintf(ptr->name, "%u", gid); # else - (void)sprintf(ptr->name, "%lu", gid); + (void)sprintf(ptr->name, "%lu", (u_long)gid); # endif if (frc == 0) return(""); |