fixed #3307 fix comparison between signed and unsigned integer expressions.