Index: src/exceptions/OFInvalidJSONException.m ================================================================== --- src/exceptions/OFInvalidJSONException.m +++ src/exceptions/OFInvalidJSONException.m @@ -65,11 +65,11 @@ } - (OFString*)description { return [OFString stringWithFormat: - @"The JSON representation is invalid in line %zd!", _line]; + @"The JSON representation is invalid in line %zu!", _line]; } - (OFString*)string { return _string; Index: src/exceptions/OFMalformedXMLException.m ================================================================== --- src/exceptions/OFMalformedXMLException.m +++ src/exceptions/OFMalformedXMLException.m @@ -47,15 +47,15 @@ - (OFString*)description { if (_parser != nil) return [OFString stringWithFormat: @"An XML parser of type %@ encountered malformed XML in " - @"line %zd!", [_parser class], [_parser lineNumber]]; + @"line %zu!", [_parser class], [_parser lineNumber]]; else return @"An XML parser encountered malformed XML!"; } - (OFXMLParser*)parser { OF_GETTER(_parser, false) } @end Index: src/exceptions/OFUnboundPrefixException.m ================================================================== --- src/exceptions/OFUnboundPrefixException.m +++ src/exceptions/OFUnboundPrefixException.m @@ -70,11 +70,11 @@ - (OFString*)description { return [OFString stringWithFormat: @"An XML parser of type %@ encountered the unbound prefix %@ in " - @"line %zd!", [_parser class], _prefix, [_parser lineNumber]]; + @"line %zu!", [_parser class], _prefix, [_parser lineNumber]]; } - (OFString*)prefix { OF_GETTER(_prefix, false) Index: tests/TestsAppDelegate.m ================================================================== --- tests/TestsAppDelegate.m +++ tests/TestsAppDelegate.m @@ -326,14 +326,14 @@ [OFApplication terminateWithStatus: _fails]; VIDEO_WaitVSync(); } #elif defined(_PSP) - [self outputString: [OFString stringWithFormat: @"%zd tests failed!", + [self outputString: [OFString stringWithFormat: @"%d tests failed!", _fails] inColor: NO_COLOR]; sceKernelSleepThreadCB(); #else [OFApplication terminateWithStatus: _fails]; #endif } @end