Bam, fixin' warnings like a boss

Hope it compiles!