type mismatched

Also, please edit your post to use code-tags rather than plain text.

Thanks.