WaE: format (64-bit)

Change-Id: Idc7179f393da9e97a86ca910eff15697f094ece1
This commit is contained in:
Tor Lillqvist
2012-09-21 09:39:40 +03:00
parent ff4f54eed2
commit 7b7c28f9bd
2 changed files with 6 additions and 6 deletions

View File

@@ -135,9 +135,9 @@ typedef int NSColorRenderingIntent;
- (void)parser:(NSXMLParser *)parser parseErrorOccurred:(NSError *)parseError
{
//NSLog(@"parsing finished with error");
NSLog(@"An error occurred parsing the document. (Error %i, Description: %@, Line: %i, Column: %i)", [parseError code],
[[parser parserError] localizedDescription], [parser lineNumber],
[parser columnNumber]);
NSLog(@"An error occurred parsing the document. (Error %li, Description: %@, Line: %li, Column: %li)", (long) [parseError code],
[[parser parserError] localizedDescription], (long) [parser lineNumber],
(long) [parser columnNumber]);
if (runningTextContent != nil) {
[runningTextContent release];

View File

@@ -215,9 +215,9 @@ static NSDictionary *metaXML2MDIKeys;
- (void)parser:(NSXMLParser *)parser parseErrorOccurred:(NSError *)parseError
{
//NSLog(@"parsing finished with error");
NSLog(@"Error %i, Description: %@, Line: %i, Column: %i", [parseError code],
[[parser parserError] localizedDescription], [parser lineNumber],
[parser columnNumber]);
NSLog(@"Error %li, Description: %@, Line: %li, Column: %li", (long) [parseError code],
[[parser parserError] localizedDescription], (long) [parser lineNumber],
(long) [parser columnNumber]);
}
@end