explicit conversion to fix build failure on xubuntu
Merge pull request #73 from Peershares/build_fix

explicit conversion to fix build failure on xubuntu