Fixed warnings from different compilers
4 files changed