Issue build warnings

With this small changes, build with gcc 4.8.1 and -Wall option, result is warning free.

Please check c8d9382