From 3229d479e78e49d387635b055f9a4a66a3ddd50b Mon Sep 17 00:00:00 2001 From: Inkyun Kil Date: Mon, 3 Aug 2020 11:28:35 +0900 Subject: [PATCH] [Tizen.Applications.Alarm] Use IntPtr instead of long type to match struct size Change-Id: I51f107dbff11a2974350a9e400f7abdf6c7bee4e Signed-off-by: Inkyun Kil --- src/Tizen.Applications.Alarm/Interop/Interop.Alarm.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }; -- 2.7.4