From: Inkyun Kil Date: Mon, 3 Aug 2020 02:28:35 +0000 (+0900) Subject: [Tizen.Applications.Alarm] Use IntPtr instead of long type to match struct size X-Git-Tag: submit/tizen_5.5_tv/20200805.005202~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F58%2F240058%2F2;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git [Tizen.Applications.Alarm] Use IntPtr instead of long type to match struct size Change-Id: I51f107dbff11a2974350a9e400f7abdf6c7bee4e Signed-off-by: Inkyun Kil --- diff --git a/src/Tizen.Applications.Alarm/Interop/Interop.Alarm.cs b/src/Tizen.Applications.Alarm/Interop/Interop.Alarm.cs index 9819690..76cac21 100755 --- a/src/Tizen.Applications.Alarm/Interop/Interop.Alarm.cs +++ b/src/Tizen.Applications.Alarm/Interop/Interop.Alarm.cs @@ -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; };