]> git.saurik.com Git - apple/mdnsresponder.git/blobdiff - mDNSMacOSX/PreferencePane/DNSServiceDiscoveryPref.m
mDNSResponder-107.6.tar.gz
[apple/mdnsresponder.git] / mDNSMacOSX / PreferencePane / DNSServiceDiscoveryPref.m
index e7744980007dfc77722756c53bef09c9cc8dc24a..373e52eba87c69fd6b7dbd76521772c7b2b85719 100644 (file)
     ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
     Change History (most recent first):
+
 $Log: DNSServiceDiscoveryPref.m,v $
+Revision 1.8  2006/08/14 23:15:47  cheshire
+Tidy up Change History comment
+
+Revision 1.7  2006/07/14 03:59:14  cheshire
+Fix compile warnings: 'sortUsingFunction:context:' comparison function needs to return int
+
 Revision 1.6  2005/02/26 00:44:24  cheshire
 Restore default reg domain if user deletes text and clicks "apply"
 
@@ -70,14 +77,14 @@ Add Preference Pane to facilitate testing of DDNS & wide-area features
 
 @implementation DNSServiceDiscoveryPref
 
-static CFComparisonResult
+static int
 MyArrayCompareFunction(id val1, id val2, void *context)
 {
     return CFStringCompare((CFStringRef)val1, (CFStringRef)val2, kCFCompareCaseInsensitive);
 }
 
 
-static CFComparisonResult
+static int
 MyDomainArrayCompareFunction(id val1, id val2, void *context)
 {
        NSString *domain1 = [val1 objectForKey:(NSString *)SC_DYNDNS_DOMAIN_KEY];
@@ -1200,5 +1207,4 @@ MyDNSServiceAddServiceToRunLoop(MyDNSServiceState * query)
     [self disableControls];
 }
 
-
-@end
\ No newline at end of file
+@end