From e8101870a3045853c692ffd9440d379f2cd539ce Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Sat, 7 Aug 2010 16:44:17 +0000 Subject: [PATCH] fix warning regarding casting during logging --- macosx/BonjourController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macosx/BonjourController.m b/macosx/BonjourController.m index 3b5da7cee..c060cfd54 100644 --- a/macosx/BonjourController.m +++ b/macosx/BonjourController.m @@ -61,12 +61,12 @@ BonjourController * fDefaultController = nil; - (void) netService: (NSNetService *) sender didNotPublish: (NSDictionary *) errorDict { - NSLog(@"Failed to publish the web interface service on port %d, with error: %@", [sender port], errorDict); + NSLog(@"Failed to publish the web interface service on port %ld, with error: %@", [sender port], errorDict); } - (void) netService: (NSNetService *) sender didNotResolve: (NSDictionary *) errorDict { - NSLog(@"Failed to resolve the web interface service on port %d, with error: %@", [sender port], errorDict); + NSLog(@"Failed to resolve the web interface service on port %ld, with error: %@", [sender port], errorDict); } @end