summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2016-10-13 11:44:52 +0300
committerIvan Maidanski <ivmai@mail.ru>2016-10-13 11:44:52 +0300
commit5f4138eb7904107bc0b145547dfceb5997b6528a (patch)
tree92c6b377464be6e04596be7d98ccf8c83b03618f /tools
parent326c2f385886f2912e56f26e5e76498cdc704585 (diff)
downloadbdwgc-5f4138eb7904107bc0b145547dfceb5997b6528a.tar.gz
Eliminate 'printf format specifier mismatch' compiler warning (tools)
* tools/setjmp_t.c (main): Use %lu (instead of %ld) printf format specifier for unsigned long value.
Diffstat (limited to 'tools')
-rw-r--r--tools/setjmp_t.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/setjmp_t.c b/tools/setjmp_t.c
index c71aea63..cf459a41 100644
--- a/tools/setjmp_t.c
+++ b/tools/setjmp_t.c
@@ -99,7 +99,7 @@ int main(void)
printf("Note that this may vary between machines of ostensibly\n");
printf("the same architecture (e.g. Sun 3/50s and 3/80s).\n");
printf("On many machines the value is not fixed.\n");
- printf("A good guess for ALIGNMENT on this machine is %ld.\n",
+ printf("A good guess for ALIGNMENT on this machine is %lu.\n",
(unsigned long)((word)(&(a.a_b)) - (word)(&a)));
printf("The following is a very dubious test of one root marking"