Emit an explicit conversion to get the correct field value after the write. Reviewed-by: vlivanov, mdoerr