hoehrmann/pngwolf — pull request #2 by DataWraith (2011-12-09 22:11:38+00:00)
Title: Fix compilation for GCC 4.6.2

pngwolf fails to compile on my system (Arch Linux, 64 bit) with the default compiler (GCC 4.6.2 20111125 (prerelease)) due to the following errors:

* error: '>>' should be '> >' within a nested template argument list (line 171)
* error: 'SIZE_MAX' was not declared in this scope (various lines)

I don't really know C++, but I managed to come up with the attached patch after a bit of googling. Feel free to incorporate it if you deem it useful.