Browse Source

Merge pull request #63 from bmx-ng/task/fix-win32-build

Swap args.
Brucey 2 năm trước cách đây
mục cha
commit
8010cafd3a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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