[Tizen.Applications.Alarm] Use IntPtr instead of long type to match struct size ...
authorkilig <inkyun.kil@samsung.com>
Tue, 4 Aug 2020 03:04:13 +0000 (12:04 +0900)
committerGitHub <noreply@github.com>
Tue, 4 Aug 2020 03:04:13 +0000 (12:04 +0900)
Change-Id: I51f107dbff11a2974350a9e400f7abdf6c7bee4e
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
src/Tizen.Applications.Alarm/Interop/Interop.Alarm.cs

index 9819690..76cac21 100755 (executable)
@@ -37,7 +37,7 @@ internal static partial class Interop
             internal int wday; /* day of the week, range 0 to 6*/
             internal int yday; /* day in the year, range 0 to 365*/
             internal int isdst; /* daylight saving time*/
-            internal long tm_gmtoff;
+            internal IntPtr tm_gmtoff; // Workaround: Use IntPtr instead of long type to match struct size with "struct tm" in time.h
             internal IntPtr tm_zone;
         };