From 66685d9f7f4c95263a88db6223a1e571ee0c50d2 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 95d8b80fe..635567755 100644 --- a/SoObjects/Appointments/SOGoAppointmentFolder.m +++ b/SoObjects/Appointments/SOGoAppointmentFolder.m @@ -1227,7 +1227,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"];