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

This commit is contained in:
Ludovic Marcotte committed 2016-04-11 15:56:02 -04:00
1 parent 7432145347
commit c091c05185
1 file changed
+1 -1
@@ -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];