From 1e8a565224518462bec4e3400e673738f36b5f22 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 b75d5c359..f222cf40c 100644 --- a/SoObjects/Appointments/SOGoAppointmentFolder.m +++ b/SoObjects/Appointments/SOGoAppointmentFolder.m @@ -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];