Changeset 58287 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Apr 26, 2010, 9:39:48 PM (15 years ago)
Author:
[email protected]
Message:

Fix windows

Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r58286 r58287  
     12010-04-26  Oliver Hunt  <[email protected]>
     2
     3        Fix windows
     4
     5        * jit/SpecializedThunkJIT.h:
     6        (JSC::SpecializedThunkJIT::argumentToVirtualRegister):
     7
    182010-04-26  Oliver Hunt  <[email protected]>
    29
  • trunk/JavaScriptCore/jit/SpecializedThunkJIT.h

    r58286 r58287  
    8888       
    8989    private:
    90         unsigned argumentToVirtualRegister(unsigned argument)
     90        int argumentToVirtualRegister(unsigned argument)
    9191        {
    92             return -(RegisterFile::CallFrameHeaderSize + (m_expectedArgCount - argument));
     92            return -static_cast<int>(RegisterFile::CallFrameHeaderSize + (m_expectedArgCount - argument));
    9393        }
    9494
Note: See TracChangeset for help on using the changeset viewer.