aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/svr4/imgact_svr4.c
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2004-06-24 02:21:17 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2004-06-24 02:21:17 +0000
commit328213dac1fe8126e583c06bd336c1eac38c8fb5 (patch)
tree8446fbaa460379a52b336862fc0c32881ce6dea6 /sys/compat/svr4/imgact_svr4.c
parenta138d21769de1498435a908513175219a96d024f (diff)
downloadsrc-328213dac1fe8126e583c06bd336c1eac38c8fb5.tar.gz
src-328213dac1fe8126e583c06bd336c1eac38c8fb5.zip
Cast variable-sized (based on platform) quantities before printing out.
Notes
Notes: svn path=/head/; revision=131013
Diffstat (limited to 'sys/compat/svr4/imgact_svr4.c')
-rw-r--r--sys/compat/svr4/imgact_svr4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/svr4/imgact_svr4.c b/sys/compat/svr4/imgact_svr4.c
index 4dc5b8f82534..90d3b384e0a6 100644
--- a/sys/compat/svr4/imgact_svr4.c
+++ b/sys/compat/svr4/imgact_svr4.c
@@ -90,7 +90,7 @@ exec_svr4_imgact(imgp)
}
bss_size = round_page(a_out->a_bss);
#ifdef DEBUG
- printf("imgact: text: %08lx, data: %08lx, bss: %08lx\n", a_out->a_text, a_out->a_data, bss_size);
+ printf("imgact: text: %08lx, data: %08lx, bss: %08lx\n", (u_long)a_out->a_text, (u_long)a_out->a_data, bss_size);
#endif
/*
@@ -193,7 +193,7 @@ exec_svr4_imgact(imgp)
#ifdef DEBUG
printf("imgact: startaddr=%08lx, length=%08lx\n", (u_long)vmaddr,
- a_out->a_text + a_out->a_data);
+ (u_long)a_out->a_text + a_out->a_data);
#endif
/*
* allow read/write of data