GCC 4.8 warning fix, suggested by Chris Foster.