summaryrefslogtreecommitdiffstats
path: root/testsuites/tmtests/include/timesys.h
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/tmtests/include/timesys.h')
-rw-r--r--testsuites/tmtests/include/timesys.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuites/tmtests/include/timesys.h b/testsuites/tmtests/include/timesys.h
index 38d15ff518..fc29cccccd 100644
--- a/testsuites/tmtests/include/timesys.h
+++ b/testsuites/tmtests/include/timesys.h
@@ -14,6 +14,7 @@
*/
#include <tmacros.h>
+#include <inttypes.h>
/*
* This constant determines the maximum number of a resource
@@ -36,7 +37,7 @@
#define put_time( _message, _total_time, \
_iterations, _loop_overhead, _overhead ) \
printf( \
- "%s %d\n", \
+ "%s %" PRId32 "\n", \
(_message), \
(((_total_time) - (_loop_overhead)) / (_iterations)) - (_overhead) \
)