fix Issue 10642 - Win64: wrong codegen comparing different sized integer arguments