summaryrefslogtreecommitdiffstats
path: root/bin/pax/gen_subs.c
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1995-03-19 13:29:28 +0000
committerjoerg <joerg@FreeBSD.org>1995-03-19 13:29:28 +0000
commitc6030c6511c69b69a216c893957b01bfc264d365 (patch)
tree163891f0a6f18e48e3d38e4d107ad82c2f5c570a /bin/pax/gen_subs.c
parent568f2efc88b72b511e26d42250ac4250a6610415 (diff)
downloadFreeBSD-src-c6030c6511c69b69a216c893957b01bfc264d365.zip
FreeBSD-src-c6030c6511c69b69a216c893957b01bfc264d365.tar.gz
You will find enclosed some changes to make gcc -Wall more happy in
/usr/src/bin. Note that some patches are still needed in that directory. I (Joerg) finished most of Philippe's cleanup. /bin/sh will still need *allot* of work, however. Submitted by: charnier@lirmm.fr (Philippe Charnier)
Diffstat (limited to 'bin/pax/gen_subs.c')
-rw-r--r--bin/pax/gen_subs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/pax/gen_subs.c b/bin/pax/gen_subs.c
index 85a24b3..d80a2be 100644
--- a/bin/pax/gen_subs.c
+++ b/bin/pax/gen_subs.c
@@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: gen_subs.c,v 1.2 1994/09/24 02:56:22 davidg Exp $
*/
#ifndef lint
@@ -135,7 +135,7 @@ ls_list(arcn, now)
# ifdef NET2_STAT
(void)printf("%4u,%4u ", MAJOR(sbp->st_rdev),
# else
- (void)printf("%4lu,%4lu ", MAJOR(sbp->st_rdev),
+ (void)printf("%4lu,%4lu ", (unsigned long)MAJOR(sbp->st_rdev),
# endif
MINOR(sbp->st_rdev));
else {
OpenPOWER on IntegriCloud