Skip to content

Commit

Permalink
Merge pull request wolfcw#65 from kilobyte/master
Browse files Browse the repository at this point in the history
Fix build failure on x32 (printf warnings).
  • Loading branch information
wolfcw committed Mar 9, 2015
2 parents 6357820 + cc4c1c3 commit 638a535
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/timetest.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ int main (int argc, char **argv)
if (VERBOSE == 1)
{
printf("timer_gettime(timerid1, &its); its = {{%ld, %ld}, {%ld, %ld}}}\n",
its.it_interval.tv_sec, its.it_interval.tv_nsec,
its.it_value.tv_sec, its.it_value.tv_nsec);
(long)its.it_interval.tv_sec, (long)its.it_interval.tv_nsec,
(long)its.it_value.tv_sec, (long)its.it_value.tv_nsec);
}

int timer_getoverrun_timerid2 = timer_getoverrun(timerid2);
Expand All @@ -188,8 +188,8 @@ int main (int argc, char **argv)
if (VERBOSE == 1)
{
printf("timer_gettime(timerid2, &its); its = {{%ld, %ld}, {%ld, %ld}}}\n",
its.it_interval.tv_sec, its.it_interval.tv_nsec,
its.it_value.tv_sec, its.it_value.tv_nsec);
(long)its.it_interval.tv_sec, (long)its.it_interval.tv_nsec,
(long)its.it_value.tv_sec, (long)its.it_value.tv_nsec);
}
#endif

Expand Down

0 comments on commit 638a535

Please sign in to comment.