turn implicit integer conversions into static_casts to avoid -Wconversion warnings
Merge pull request #150 from TyRoXx/conversion_warnings

turn implicit integer conversions into static_casts to avoid warnings