(fix) offset can be negative (fixes #4237)

This commit is contained in:
Ludovic Marcotte 2017-08-14 13:59:16 -04:00
parent b7c8f43bcc
commit 66685d9f7f

View file

@ -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"];