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

pull/237/head
Ludovic Marcotte 2017-08-14 13:59:16 -04:00
parent b7c8f43bcc
commit 66685d9f7f
1 changed files with 2 additions and 1 deletions

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