Ignore:
Timestamp:
Jan 14, 2009, 3:40:56 PM (16 years ago)
Author:
[email protected]
Message:

Build fix for Qt from Dmitry Titov.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/ThreadingQt.cpp

    r39908 r39917  
    245245    double intervalMilliseconds = (absoluteTime - currentTime) * 1000.0;
    246246    // Qt defines wait for up to ULONG_MAX milliseconds.
    247     if (interval >= ULONG_MAX)
    248         interval = ULONG_MAX;
    249 
    250     return m_condition->wait(mutex.impl(), static_cast<unsigned long>(interval));
     247    if (intervalMilliseconds >= ULONG_MAX)
     248        intervalMilliseconds = ULONG_MAX;
     249
     250    return m_condition->wait(mutex.impl(), static_cast<unsigned long>(intervalMilliseconds));
    251251}
    252252
Note: See TracChangeset for help on using the changeset viewer.