summaryrefslogtreecommitdiff
path: root/tune
diff options
context:
space:
mode:
authorTorbjorn Granlund <tg@gmplib.org>2020-11-19 21:34:03 +0100
committerTorbjorn Granlund <tg@gmplib.org>2020-11-19 21:34:03 +0100
commit79bba1f2cc548d81ae1b2ba9dc40504374282e70 (patch)
tree4b40848966717f36516a02f83514b9bbb1a58145 /tune
parent5c93d8b66567a6a9c04460e9a8ef6372892df0db (diff)
downloadgmp-79bba1f2cc548d81ae1b2ba9dc40504374282e70.tar.gz
(main): Cast printf args to right type.
Diffstat (limited to 'tune')
-rw-r--r--tune/speed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tune/speed.c b/tune/speed.c
index e0d961e22..319e5bbdb 100644
--- a/tune/speed.c
+++ b/tune/speed.c
@@ -1382,7 +1382,7 @@ main (int argc, char *argv[])
perror ("getrusage");
else
printf ("getrusage(): utime %ld.%06ld data %ld stack %ld maxresident %ld\n",
- r.ru_utime.tv_sec, r.ru_utime.tv_usec,
+ (long) r.ru_utime.tv_sec, (long) r.ru_utime.tv_usec,
r.ru_idrss, r.ru_isrss, r.ru_ixrss);
}
#else