[fixed] idlc generating wrong casts for basic types