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

pull/207/head
Ludovic Marcotte 2016-04-11 15:55:12 -04:00
parent adc227a7eb
commit 1e8a565224
1 changed files with 1 additions and 1 deletions

View File

@ -753,7 +753,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];