Fixed small bug detected by new GCC.

It's incredible that GCC was able to detect this at all!