libpd/libpd — pull request #20 by totalgee (2012-05-21 11:10:32+00:00)
Title: Fixing a few compiler warnings on OS X

A few very minor changes.

A couple of these fix pointer dereferencing which was subsequently not used (has no effect other than causing a warning with the LLVM compiler on OS X). The only important part is the advancing (++) of the pointers. In the other case, an error() function with variable arguments was being printed using an uncontrolled format string (http://en.wikipedia.org/wiki/Uncontrolled_format_string). In the context of the actual code, I don't think it was a safety issue -- but it does get rid of another compiler warning/error with the latest LLVM compiler.

This is my first (admittedly very minor) pull request, I hope it's okay. The changes (if accepted) could also presumably be merged into the original pure_data repository at some point.