Browse Source

Tests: Fix check_timer.c on MinGW

Julius Pfrommer 4 years ago
parent
commit
b8dfd5772f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/check_timer.c

+ 1 - 1
tests/check_timer.c

@@ -52,7 +52,7 @@ START_TEST(benchmarkTimer) {
     clock_t finish = clock();
     double time_spent = (double)(finish - begin) / CLOCKS_PER_SEC;
     printf("duration was %f s\n", time_spent);
-    printf("%lu callbacks\n", count);
+    printf("%lu callbacks\n", (unsigned long)count);
 
     UA_Timer_deleteMembers(&timer);
 } END_TEST