Fix compiler warnings
Merge pull request #8 from kpcyrd/narrowing-conversion

Fix compiler warnings