There are some warnings about integer and floating type conversions which get fixed by the attached patch