From c091c05185563f2625159a192ff29858d9849397 Mon Sep 17 00:00:00 2001 From: Ludovic Marcotte Date: Mon, 11 Apr 2016 15:55:12 -0400 Subject: [PATCH] (fix) adjust offset datatype to avoid int overflows (fixes #3628) --- SoObjects/Appointments/SOGoAppointmentFolder.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SoObjects/Appointments/SOGoAppointmentFolder.m b/SoObjects/Appointments/SOGoAppointmentFolder.m index b31c28386a..c3486466e5 100644 --- a/SoObjects/Appointments/SOGoAppointmentFolder.m +++ b/SoObjects/Appointments/SOGoAppointmentFolder.m @@ -766,7 +766,7 @@ - (NSMutableDictionary *) _fixupRecord: (NSDictionary *) theRecord NSCalendarDate *date; NSNumber *dateValue; BOOL isAllDay; - unsigned int offset; + NSInteger offset; isAllDay = [[theRecord objectForKey: @"c_isallday"] boolValue]; record = [[theRecord mutableCopy] autorelease];