Fixed a couple warnings. C++ 101 please read it.

Signed-off-by: SkyFire <admin@projectskyfire.org>