Warning fixes

Fixes for warnings for Warning Level 4. I didn't change the compiler
settings.