Explorar o código

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

Swap args.
Brucey %!s(int64=2) %!d(string=hai) anos
pai
achega
8010cafd3a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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