From 5c74d204e7641a072eec3a9d1ec537d100b83ddc Mon Sep 17 00:00:00 2001 From: Nate Sammons Date: Tue, 6 Apr 1999 01:37:51 +0000 Subject: [PATCH] Avoid compiler warnings. --- file.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/file.c b/file.c index b25cab73..df6c5511 100644 --- a/file.c +++ b/file.c @@ -707,11 +707,14 @@ long addr; #else /* !ALPHA */ tprintf("{f_type=%s, f_bsize=%lu, f_blocks=%lu, f_bfree=%lu, ", sprintfstype(statbuf.f_type), - statbuf.f_bsize, statbuf.f_blocks, statbuf.f_bfree); + (unsigned long)statbuf.f_bsize, + (unsigned long)statbuf.f_blocks, + (unsigned long)statbuf.f_bfree); tprintf("f_files=%lu, f_ffree=%lu", - statbuf.f_files, statbuf.f_ffree); + (unsigned long)statbuf.f_files, + (unsigned long)statbuf.f_ffree); #ifdef LINUX - tprintf(", f_namelen=%lu}", statbuf.f_namelen); + tprintf(", f_namelen=%lu}", (unsigned long)statbuf.f_namelen); #endif /* LINUX */ #endif /* !ALPHA */ tprintf("}"); -- 2.40.0