From 5bcebabfe3c9df118973c2cd95bda52333e89e0f Mon Sep 17 00:00:00 2001 From: Carol Eidt Date: Wed, 23 May 2018 08:02:59 -0700 Subject: [PATCH] Fix desktop build break Commit migrated from https://github.com/dotnet/coreclr/commit/3fa689df0e56da296c2819c991c4bcfd7195f846 --- src/coreclr/src/jit/lsrabuild.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/src/jit/lsrabuild.cpp b/src/coreclr/src/jit/lsrabuild.cpp index e962b1e..ba42745 100644 --- a/src/coreclr/src/jit/lsrabuild.cpp +++ b/src/coreclr/src/jit/lsrabuild.cpp @@ -2393,7 +2393,7 @@ RefPosition* LinearScan::BuildDef(GenTree* tree, regMaskTP dstCandidates, int mu void LinearScan::BuildDefs(GenTree* tree, int dstCount, regMaskTP dstCandidates) { bool fixedReg = false; - if ((dstCount > 1) && (dstCandidates != RBM_NONE) && (genCountBits(dstCandidates) == dstCount)) + if ((dstCount > 1) && (dstCandidates != RBM_NONE) && ((int)genCountBits(dstCandidates) == dstCount)) { fixedReg = true; } -- 2.7.4