Ignore:
Timestamp:
Oct 25, 2008, 1:21:23 PM (17 years ago)
Author:
[email protected]
Message:

2008-10-25 Geoffrey Garen <[email protected]>

Not reviewed.


Try to fix Windows build.

  • VM/SamplingTool.h: (JSC::SamplingTool::encodeSample): Explicitly cast bool to int, to silence compiler warning.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/VM/SamplingTool.h

    r37891 r37893  
    161161        {
    162162            ASSERT(!(reinterpret_cast<intptr_t>(vPC) & 0x3));
    163             return reinterpret_cast<intptr_t>(vPC) | (inCTIFunction << 1) | inHostFunction;
     163            return reinterpret_cast<intptr_t>(vPC) | (static_cast<intptr_t>(inCTIFunction) << 1) | static_cast<intptr_t>(inHostFunction);
    164164        }
    165165
Note: See TracChangeset for help on using the changeset viewer.