Kaynağa Gözat

compat: Fix win32 clock_gettime prototype

Hugo Beauzée-Luyssen 7 yıl önce
ebeveyn
işleme
220e5d70f7
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      compat/clock_gettime.c

+ 1 - 1
compat/clock_gettime.c

@@ -69,7 +69,7 @@ int clock_gettime(clockid_t clk_id, struct timespec *tp) {
 #include <stdint.h>
 #include <time.h>
 
-int clock_gettime(int clk_id, struct timespec *spec) {
+int clock_gettime(clockid_t clk_id, struct timespec *spec) {
     (void)clk_id;
     FILETIME wintime;
     GetSystemTimeAsFileTime(&wintime);