fix two compiler warnings

Authored by sgerlach on Jul 9 2018, 8:26 PM.