Parcourir la source

Tests: Fix check_timer.c on MinGW

Julius Pfrommer il y a 5 ans
Parent
commit
b8dfd5772f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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