Skip to content

Commit

Permalink
(fix) adjust offset datatype to avoid int overflows (fixes #3628)
Browse files Browse the repository at this point in the history
  • Loading branch information
extrafu committed Apr 11, 2016
1 parent 7432145 commit c091c05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SoObjects/Appointments/SOGoAppointmentFolder.m
Expand Up @@ -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];
Expand Down

0 comments on commit c091c05

Please sign in to comment.