فهرست منبع

compat: Fix win32 clock_gettime prototype

Hugo Beauzée-Luyssen 7 سال پیش
والد
کامیت
220e5d70f7
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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);