diff --git a/SOPE/NGCards/iCalYearlyRecurrenceCalculator.m b/SOPE/NGCards/iCalYearlyRecurrenceCalculator.m index 5e4fadc6f0..69449de1bf 100644 --- a/SOPE/NGCards/iCalYearlyRecurrenceCalculator.m +++ b/SOPE/NGCards/iCalYearlyRecurrenceCalculator.m @@ -45,7 +45,7 @@ - (NSArray *) recurrenceRangesWithinCalendarDateRange: (NGCalendarDateRange *) _ NSMutableArray *ranges; NSArray *byMonth; NSCalendarDate *firStart, *lastDate, *rStart, *rEnd, *until, *referenceDate, *rTemp; - NSInteger *hoursOfOffset; + NSInteger hoursOfOffset; iCalMonthlyRecurrenceCalculator *monthlyCalc; unsigned j, yearIdxInRange, numberOfYearsInRange, count, interval, monthDiff; int diff, repeatCount, currentMonth, origNbDaysInMonth; diff --git a/SoObjects/Mailer/SOGoMailFolder.m b/SoObjects/Mailer/SOGoMailFolder.m index b3cace27f1..0ea7f55dbd 100644 --- a/SoObjects/Mailer/SOGoMailFolder.m +++ b/SoObjects/Mailer/SOGoMailFolder.m @@ -104,10 +104,11 @@ static NSComparisonResult _compareFetchResultsByMODSEQ (id entry1, id entry2, vo return [modseq1 compare: modseq2]; } -static NSInteger _compareFetchResultsByUID (id entry1, id entry2, NSDictionary *uids) +static NSComparisonResult _compareFetchResultsByUID (id entry1, id entry2, void *uidsp) { NSString *uid1, *uid2; NSUInteger pos1, pos2; + NSDictionary *uids=(NSDictionary*)uidsp; uid1 = [entry1 objectForKey: @"uid"]; uid2 = [entry2 objectForKey: @"uid"]; diff --git a/SoObjects/SOGo/SOGoMailer.h b/SoObjects/SOGo/SOGoMailer.h index 174df35964..056f5bd508 100644 --- a/SoObjects/SOGo/SOGoMailer.h +++ b/SoObjects/SOGo/SOGoMailer.h @@ -36,7 +36,7 @@ { NSString *mailingMechanism; NSString *smtpServer; - BOOL *smtpMasterUserEnabled; + BOOL smtpMasterUserEnabled; NSString *smtpMasterUserUsername; NSString *smtpMasterUserPassword; NSString *authenticationType; diff --git a/SoObjects/SOGo/SOGoUserDefaults.h b/SoObjects/SOGo/SOGoUserDefaults.h index cd698f4d87..c543e82cdd 100644 --- a/SoObjects/SOGo/SOGoUserDefaults.h +++ b/SoObjects/SOGo/SOGoUserDefaults.h @@ -156,8 +156,8 @@ extern NSString *SOGoPasswordRecoverySecondaryEmail; - (void) setMailComposeFontSize: (int) newValue; - (int) mailComposeFontSize; -- (void) setMailDisplayFullEmail: (BOOL *) newValue; -- (BOOL *) mailDisplayFullEmail; +- (void) setMailDisplayFullEmail: (BOOL) newValue; +- (BOOL) mailDisplayFullEmail; - (void) setMailDisplayRemoteInlineImages: (NSString *) newValue; - (NSString *) mailDisplayRemoteInlineImages; diff --git a/SoObjects/SOGo/SOGoUserDefaults.m b/SoObjects/SOGo/SOGoUserDefaults.m index d6ed907737..960e8ae28a 100644 --- a/SoObjects/SOGo/SOGoUserDefaults.m +++ b/SoObjects/SOGo/SOGoUserDefaults.m @@ -89,7 +89,7 @@ + (SOGoUserDefaults *) defaultsForUser: (NSString *) userId [ud setObject: @"text" forKey: @"SOGoMailComposeMessageType"]; } - [ud setObject: [NSNumber numberWithUnsignedLongLong: [up getCDefaultsSize]] forKey: @"CDefaultsSize"]; // Add c_defaults field size + [ud setObject: [NSNumber numberWithUnsignedLongLong: (unsigned long long)[up getCDefaultsSize]] forKey: @"CDefaultsSize"]; // Add c_defaults field size return ud; } @@ -634,12 +634,12 @@ - (int) mailComposeFontSize return [self integerForKey: @"SOGoMailComposeFontSize"]; } -- (void) setMailDisplayFullEmail: (BOOL *) newValue +- (void) setMailDisplayFullEmail: (BOOL) newValue { [self setBool: newValue forKey: @"SOGoMailDisplayFullEmail"]; } -- (BOOL *) mailDisplayFullEmail; +- (BOOL) mailDisplayFullEmail; { return [self boolForKey: @"SOGoMailDisplayFullEmail"]; }