fix compiler warnings
3 files changed