Two small patches

The first patch (nslog-format) fixes an incorrect format specifier “%s” instead of “%@” for printing NSStrings. The second one silence a warning by clang by fooling the frontend that the arguments to the debug macro are used by casting them to (void).

-------------- next part --------------
A non-text attachment was scrubbed…
Name: nslog-format.patch
Type: application/octet-stream
Size: 452 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20110902/8ab4a1c5/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed…
Name: silence-warnings-for-unused-results.patch
Type: application/octet-stream
Size: 403 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20110902/8ab4a1c5/attachment-0001.obj
-------------- next part --------------

/ Mattias

The first patch (nslog-format) fixes an incorrect format specifier "%s"
instead of “%@” for printing NSStrings.

This is now hg changeset 40dfc30cea83…

The second one silence a warning by clang by fooling the frontend that
the arguments to the debug macro are used by casting them to (void).

…and this is now hg changeset c9f179fd2ef7.

Thanks!

–ryan.