Ignore:
Timestamp:
Sep 29, 2010, 5:45:55 AM (15 years ago)
Author:
[email protected]
Message:

2010-09-29 Peter Varga <[email protected]>

Reviewed by Csaba Osztrogonác.

JSC compile fails on 32bit platform when Regexp Tracing is enabled
https://bugs.webkit.org/show_bug.cgi?id=46713

Fix the cast of pointer in regexp tracing to avoid the warning.

  • runtime/RegExp.cpp: (JSC::RegExp::match):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/RegExp.cpp

    r68207 r68639  
    255255            sprintf(jitAddr, "fallback");
    256256        else
    257             sprintf(jitAddr, "0x%014lx", (uintptr_t)codeBlock.getAddr());
     257            sprintf(jitAddr, "0x%014lx", reinterpret_cast<unsigned long int>(codeBlock.getAddr()));
    258258#else
    259259        const char* jitAddr = "JIT Off";
Note: See TracChangeset for help on using the changeset viewer.