Explorar o código

Tests: Fix check_timer.c on MinGW

Julius Pfrommer %!s(int64=5) %!d(string=hai) anos
pai
achega
b8dfd5772f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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