fix some compiler warnings

Authored by schwarzer on Aug 15 2019, 6:47 PM.