summaryrefslogtreecommitdiffstats
path: root/JavaScriptCore/bytecode/SamplingTool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'JavaScriptCore/bytecode/SamplingTool.cpp')
-rw-r--r--JavaScriptCore/bytecode/SamplingTool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/JavaScriptCore/bytecode/SamplingTool.cpp b/JavaScriptCore/bytecode/SamplingTool.cpp
index 8522e45..7191e38 100644
--- a/JavaScriptCore/bytecode/SamplingTool.cpp
+++ b/JavaScriptCore/bytecode/SamplingTool.cpp
@@ -43,7 +43,7 @@ namespace JSC {
void SamplingFlags::sample()
{
- uint32_t mask = 1 << 31;
+ uint32_t mask = static_cast<uint32_t>(1 << 31);
unsigned index;
for (index = 0; index < 32; ++index) {