Remove warnings

Remove implicit conversions of datatypes and convert them explicitly to remove XCode warnings
Merge pull request #4 from Leandros/patch-1

Remove warnings