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