diff options
author | Rahul Kumar <rahku@microsoft.com> | 2016-02-26 16:42:48 -0800 |
---|---|---|
committer | Rahul Kumar <rahku@microsoft.com> | 2016-02-26 17:23:21 -0800 |
commit | fde7b2cd22a8c67ecf145e8602a132baa9a70156 (patch) | |
tree | be58bf97efa37023558a603431bfbea605c43b63 /src | |
parent | 492d298077b6220c29d3f80c4006ca1820d4efbc (diff) | |
download | coreclr-fde7b2cd22a8c67ecf145e8602a132baa9a70156.tar.gz coreclr-fde7b2cd22a8c67ecf145e8602a132baa9a70156.tar.bz2 coreclr-fde7b2cd22a8c67ecf145e8602a132baa9a70156.zip |
fix warning C4334
Diffstat (limited to 'src')
-rw-r--r-- | src/gc/gc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gc/gc.cpp b/src/gc/gc.cpp index 5cbdfd7409..81e1572fb1 100644 --- a/src/gc/gc.cpp +++ b/src/gc/gc.cpp @@ -8193,7 +8193,7 @@ int index_of_set_bit (size_t power2) while (low <= high) { mid = ((low + high)/2); - size_t temp = 1 << mid; + size_t temp = (size_t)1 << mid; if (power2 & temp) { return mid; |