projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6347f24
)
fix warning C4334
author
Rahul Kumar
<rahku@microsoft.com>
Sat, 27 Feb 2016 00:42:48 +0000
(16:42 -0800)
committer
Rahul Kumar
<rahku@microsoft.com>
Sat, 27 Feb 2016 01:23:21 +0000
(17:23 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/
fde7b2cd22a8c67ecf145e8602a132baa9a70156
src/coreclr/src/gc/gc.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/src/gc/gc.cpp
b/src/coreclr/src/gc/gc.cpp
index
5cbdfd7
..
81e1572
100644
(file)
--- a/
src/coreclr/src/gc/gc.cpp
+++ b/
src/coreclr/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;