소스 검색

compat: Fix win32 clock_gettime prototype

Hugo Beauzée-Luyssen 8 년 전
부모
커밋
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);