clean up a couple warnings on linux

fix a couple type mismatches in logging