fix a few compiler warnings

Authored by sgerlach on Sep 18 2017, 10:09 PM.