Fixed some G++ warnings
Merge pull request #58 from Databean/removeWarnings

Fixed some G++ warnings