Fix issue #1

Signed-off-by: Jerome Doby <XaeroDegreaz@gmail.com>
Merge pull request #2 from XaeroDegreaz/hotfix/incompatible-type-conversion

Fix issue #1