@@ -303,7 +303,7 @@ int main(int argc ODP_UNUSED, char *argv[] ODP_UNUSED)
}
test_timer_ping = odp_timer_create("ping_timer", pool,
- 1000000, 1000000, 1000000000000);
+ 1000000, 1000000, 1000000000000UL);
odp_shm_print_all();
pingarg.thrdarg.testcase = ODP_TIMER_PING_TEST;
@@ -294,7 +294,7 @@ int main(int argc, char *argv[])
}
test_timer = odp_timer_create("test_timer", pool,
- 1000000, 1000000, 1000000000000);
+ 1000000, 1000000, 1000000000000UL);
odp_shm_print_all();
@@ -308,7 +308,7 @@ int main(int argc, char *argv[])
printf(" %12"PRIu64" cycles -> %12"PRIu64" ns\n", cycles,
odp_time_cycles_to_ns(cycles));
- for (ns = 1; ns <= 100000000000; ns *= 10) {
+ for (ns = 1; ns <= 100000000000UL; ns *= 10) {
cycles = odp_time_ns_to_cycles(ns);
printf(" %12"PRIu64" ns -> %12"PRIu64" cycles\n", ns,
Signed-off-by: Mike Holmes <mike.holmes@linaro.org> --- test/api_test/odp_timer_ping.c | 2 +- test/timer/odp_timer_test.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)