Fixed g++ warnings.

Authored by asemke on Mar 31 2019, 8:09 PM.