Merge pull request #278 from JohnMai/anthonylim

Fixed compile warnings