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

This commit is contained in:
Ludovic Marcotte
2017-08-14 13:59:16 -04:00
parent 44dbb30ffe
commit e1791ac8f5
@@ -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"];