Explorar el Código

Tests: Fix check_timer.c on MinGW

Julius Pfrommer hace 5 años
padre
commit
b8dfd5772f
Se han modificado 1 ficheros con 1 adiciones y 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