Fixing Compiler Warnings