int16/32 mismatch fixes. see changelog.txt