summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-08-24 18:33:13 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-08-24 18:33:13 +0000
commitf4097d02a58343cb41070cc22d4086ea9f934ee2 (patch)
treeea48f86215fdf1fd9a3ae66e563c0902b01b3c35 /usr.bin
parentf235aa0fc38e77790af0027e0eb7b3c6440ce391 (diff)
64bit fix: don't mix long & int.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/file/print.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/file/print.c b/usr.bin/file/print.c
index 533dbb02069..7f707c4bf01 100644
--- a/usr.bin/file/print.c
+++ b/usr.bin/file/print.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print.c,v 1.4 1997/07/25 21:05:26 mickey Exp $ */
+/* $OpenBSD: print.c,v 1.5 1997/08/24 18:33:12 millert Exp $ */
/*
* print.c - debugging printout routines
@@ -41,7 +41,7 @@
#include "file.h"
#ifndef lint
-static char *moduleid = "$OpenBSD: print.c,v 1.4 1997/07/25 21:05:26 mickey Exp $";
+static char *moduleid = "$OpenBSD: print.c,v 1.5 1997/08/24 18:33:12 millert Exp $";
#endif /* lint */
#define SZOF(a) (sizeof(a) / sizeof(a[0]))
@@ -69,7 +69,7 @@ struct magic *m;
(m->type >= 0 && m->type < SZOF(typ)) ?
typ[(unsigned char) m->type] :
"*bad*");
- if (m->mask != ~0L)
+ if (m->mask != ~0)
(void) fprintf(stderr, " & %.8x", m->mask);
(void) fprintf(stderr, ",%c", m->reln);