Wow, this is a blast from the past. When I wrote the pngchunks command in 2003, I had never seen a 64 bit machine, and knew enough to check that an int was the right size, but not enough to just use the guaranteed-to-be-32-bit version from day 1. I'd pretty much forgotten about this code until I got pinged about this Debian bug. The bug reporter is entirely right, this was lame.
PNGtools 0.4 should be 64 bit safe. The pngchunks command works on my 64 bit machines at least.
Tags for this post: pngtools release 64 bit bug fix
posted at: 15:16 | path: /pngtools | permanent link to this entry