Fix some gcc warnings.
Merge pull request #101 from Jarod42/GccWarningFix

Fix some gcc warnings.