fix compiler warnings

Authored by sgerlach on Apr 22 2018, 7:52 AM.