Changeset 244149 in webkit


Ignore:
Timestamp:
Apr 10, 2019 2:15:18 PM (5 years ago)
Author:
Tadeu Zagallo
Message:

Unreviewed, fix watch build after r244143
https://bugs.webkit.org/show_bug.cgi?id=195000

The result of lseek should be off_t rather than int.

  • jsc.cpp:
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r244143 r244149  
     12019-04-10  Tadeu Zagallo  <tzagallo@apple.com>
     2
     3        Unreviewed, fix watch build after r244143
     4        https://bugs.webkit.org/show_bug.cgi?id=195000
     5
     6        The result of `lseek` should be `off_t` rather than `int`.
     7
     8        * jsc.cpp:
     9
    1102019-04-10  Tadeu Zagallo  <tzagallo@apple.com>
    211
  • trunk/Source/JavaScriptCore/jsc.cpp

    r244143 r244149  
    10241024
    10251025        m_cachedBytecode->commitUpdates([&] (off_t offset, const void* data, size_t size) {
    1026             int result = lseek(fd, offset, SEEK_SET);
     1026            off_t result = lseek(fd, offset, SEEK_SET);
    10271027            ASSERT_UNUSED(result, result != -1);
    10281028            size_t bytesWritten = static_cast<size_t>(write(fd, data, size));
Note: See TracChangeset for help on using the changeset viewer.