[ElmSharp] Update the SystemTime internal struct (#1627)
authorKangho Hur <rookiejava@gmail.com>
Fri, 29 May 2020 05:40:40 +0000 (14:40 +0900)
committerGitHub <noreply@github.com>
Fri, 29 May 2020 05:40:40 +0000 (14:40 +0900)
src/ElmSharp/Interop/Interop.Libc.cs

index 1e29684..4001f11 100644 (file)
@@ -39,7 +39,7 @@ internal static partial class Interop
             public int tm_isdst;
 
             // The glibc version of struct tm has additional fields
-            public long tm_gmtoff;
+            public IntPtr tm_gmtoff;
             public IntPtr tm_zone;
 
             public static implicit operator SystemTime(DateTime value)