fixed: Compile warnings + cosmetics

This fixes a whole bunch of compile warnings, removing a lot of noise when doing a full compile.
Don't think so. %c is int. I think (char) will give another compile warning, right?