소스 검색

Swap args.

Brucey 2 년 전
부모
커밋
07744081e5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      stdc.mod/stdc.c

+ 1 - 1
stdc.mod/stdc.c

@@ -1207,7 +1207,7 @@ int bmx_datetime_convert_to_utc(const SDateTime* dt, SDateTime* dt_utc) {
     struct tm utc;
 
 #if defined(_WIN32) || defined(_WIN64)
-    gmtime_s(&ts, &utc);
+    gmtime_s(&utc, &ts);
 #else
     gmtime_r(&ts, &utc);
 #endif