adium/adium

26c6b254cb38
Parents ba605f0e271c
Children 7ea32918cafc
Add some casts to fix some compile errors.
--- a/Frameworks/Adium Framework/Source/AIChat.m Sat Jun 02 10:51:31 2012 -0400
+++ b/Frameworks/Adium Framework/Source/AIChat.m Sat Jun 02 10:51:31 2012 -0400
@@ -398,7 +398,7 @@
if(flagA > flagB) {
return (NSComparisonResult)NSOrderedAscending;
} else if (flagA < flagB) {
- return NSOrderedDescending;
+ return (NSComparisonResult)NSOrderedDescending;
} else {
return [[self displayNameForContact:objectA] localizedCaseInsensitiveCompare:[self displayNameForContact:objectB]];
}
--- a/Source/ESContactAlertsController.m Sat Jun 02 10:51:31 2012 -0400
+++ b/Source/ESContactAlertsController.m Sat Jun 02 10:51:31 2012 -0400
@@ -246,7 +246,7 @@
return (NSComparisonResult)NSOrderedAscending;
} else if (groupB < groupA) {
- return NSOrderedDescending;
+ return (NSComparisonResult)NSOrderedDescending;
} else {
NSString *descriptionA = [eventHandlerA globalShortDescriptionForEventID:objectA];