Small pull request to fix warnings appearing when compiling with gcc 4.8.