Merge pull request #2352 from WalterBright/fix10642-2

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