Changeset 245395 in webkit
- Timestamp:
- May 16, 2019 6:38:10 AM (5 years ago)
- Location:
- trunk/Source/WTF
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r245369 r245395 1 2019-05-16 Eike Rathke <erack@redhat.com> 2 3 Fix memcpy() call for big endian 4 https://bugs.webkit.org/show_bug.cgi?id=197945 5 6 Reviewed by Michael Catanzaro. 7 8 * wtf/Packed.h: 9 (WTF::alignof): 10 1 11 2019-05-15 Ross Kirsling <ross.kirsling@sony.com> 2 12 -
trunk/Source/WTF/wtf/Packed.h
r245239 r245395 150 150 memcpy(m_storage.data(), &value, storageSize); 151 151 #else 152 memcpy(m_storage.data(), bitwise_cast<uint8_t*>(&value) + (sizeof(void*) - storageSize) );152 memcpy(m_storage.data(), bitwise_cast<uint8_t*>(&value) + (sizeof(void*) - storageSize), storageSize); 153 153 #endif 154 154 }
Note: See TracChangeset
for help on using the changeset viewer.