aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/ldd/sods.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ldd/sods.c b/usr.bin/ldd/sods.c
index 9b150ec5a9ff..8b9716db190a 100644
--- a/usr.bin/ldd/sods.c
+++ b/usr.bin/ldd/sods.c
@@ -194,7 +194,7 @@ dump_file(const char *fname)
printf("%s: a_midmag = 0x%lx\n", fname, ex->a_midmag);
printf(" magic = 0x%lx = 0%lo, netmagic = 0x%lx = 0%lo\n",
N_GETMAGIC(*ex), N_GETMAGIC(*ex),
- N_GETMAGIC_NET(*ex), N_GETMAGIC_NET(*ex));
+ (long)N_GETMAGIC_NET(*ex), (long)N_GETMAGIC_NET(*ex));
if (N_BADMAG(*ex)) {
warnx("%s: bad magic number", fname);