(fix) adjust offset datatype to avoid int overflows (fixes #3628)

This commit is contained in:
Ludovic Marcotte
2016-04-11 15:56:02 -04:00
parent 7432145347
commit c091c05185
@@ -766,7 +766,7 @@ static Class iCalEventK = nil;
NSCalendarDate *date;
NSNumber *dateValue;
BOOL isAllDay;
unsigned int offset;
NSInteger offset;
isAllDay = [[theRecord objectForKey: @"c_isallday"] boolValue];
record = [[theRecord mutableCopy] autorelease];