(fix) adjust offset datatype to avoid int overflows (fixes #3628)
This commit is contained in:
parent
adc227a7eb
commit
1e8a565224
|
@ -753,7 +753,7 @@ static Class iCalEventK = nil;
|
||||||
NSCalendarDate *date;
|
NSCalendarDate *date;
|
||||||
NSNumber *dateValue;
|
NSNumber *dateValue;
|
||||||
BOOL isAllDay;
|
BOOL isAllDay;
|
||||||
unsigned int offset;
|
NSInteger offset;
|
||||||
|
|
||||||
isAllDay = [[theRecord objectForKey: @"c_isallday"] boolValue];
|
isAllDay = [[theRecord objectForKey: @"c_isallday"] boolValue];
|
||||||
record = [[theRecord mutableCopy] autorelease];
|
record = [[theRecord mutableCopy] autorelease];
|
||||||
|
|
Loading…
Reference in a new issue