From: Bruce Forstall Date: Wed, 21 Jun 2017 19:26:56 +0000 (-0700) Subject: Fix arm64 build break X-Git-Tag: submit/tizen/20210909.063632~11030^2~6925^2~360^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=75233c455280f769e211cacb1423f9a434b6c75f;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Fix arm64 build break [tfs-changeset: 1662444] Commit migrated from https://github.com/dotnet/coreclr/commit/98bdd562b6ad4dd8820dbcc1b4a831b040772d19 --- diff --git a/src/coreclr/src/jit/gentree.h b/src/coreclr/src/jit/gentree.h index fbfbf2b..cb4033c 100644 --- a/src/coreclr/src/jit/gentree.h +++ b/src/coreclr/src/jit/gentree.h @@ -3415,7 +3415,7 @@ struct GenTreeCall final : public GenTree } // Clear anything that was already there by masking out the bits before 'or'ing in what we want there. - gtSpillFlags = (gtSpillFlags & ~(0xffU << (idx * 2))) | (bits << (idx * 2)); + gtSpillFlags = (unsigned char)((gtSpillFlags & ~(0xffU << (idx * 2))) | (bits << (idx * 2))); #else unreached(); #endif