Changeset 12366 in webkit for trunk/JavaScriptCore/kxmlcore/HashFunctions.h
- Timestamp:
- Jan 25, 2006, 3:04:35 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kxmlcore/HashFunctions.h
r12329 r12366 38 38 template<> inline unsigned pointerHash<4>(void *pointer) 39 39 { 40 uint32_t key = reinterpret_cast<uint32_t>(pointer);40 uint32_t key = static_cast<uint32_t>(reinterpret_cast<uintptr_t>(pointer)); 41 41 key += ~(key << 15); 42 42 key ^= (key >> 10);
Note:
See TracChangeset
for help on using the changeset viewer.