From e1791ac8f54f61ca4afe6b2b04f947b841795815 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Mon, 14 Aug 2017 13:59:16 -0400 Subject: [PATCH] (fix) offset can be negative (fixes #4237) --- SoObjects/Appointments/SOGoAppointmentFolder.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SoObjects/Appointments/SOGoAppointmentFolder.m b/SoObjects/Appointments/SOGoAppointmentFolder.m index 78855cc49..ca4394dc4 100644 --- a/SoObjects/Appointments/SOGoAppointmentFolder.m +++ b/SoObjects/Appointments/SOGoAppointmentFolder.m @@ -1241,7 +1241,8 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir iCalDateTime *dtstart; iCalRepeatableEntityObject *component; iCalTimeZone *eventTimeZone; - unsigned count, max, offset; + unsigned count, max; + int offset; id tz; content = [theRecord objectForKey: @"c_cycleinfo"];