Procházet zdrojové kódy

compat: Fix win32 clock_gettime prototype

Hugo Beauzée-Luyssen před 7 roky
rodič
revize
220e5d70f7
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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);