[Tizen.Applications.Alarm] Use IntPtr instead of long type to match struct size 58/240058/2
authorInkyun Kil <inkyun.kil@samsung.com>
Mon, 3 Aug 2020 02:28:35 +0000 (11:28 +0900)
committerInkyun Kil <inkyun.kil@samsung.com>
Mon, 3 Aug 2020 02:31:43 +0000 (11:31 +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;
         };