fix warning regarding casting during logging

This commit is contained in:
Mitchell Livingston 2010-08-07 16:44:17 +00:00
parent 1219444727
commit e8101870a3
1 changed files with 2 additions and 2 deletions

View File

@ -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