Bug 200288

Summary: Fix 64-bit vs 32-bit mismatch in PersistentCoders.h
Product: WebKit Reporter: Keith Rollin <krollin>
Component: Web Template FrameworkAssignee: Keith Rollin <krollin>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, cdumez, cmarcelo, commit-queue, dbates, ews-watchlist, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Keith Rollin 2019-07-30 16:33:06 PDT
hashMapSize is declared as a uint64_t. It is passed to HashMapType::reserveInitialCapacity, which takes an unsigned int. This is a 32-bit value on 32-bit platforms, leading to a compile time error. Fix his by casting hashMapSize to the expected type.
Comment 1 Radar WebKit Bug Importer 2019-07-30 16:33:18 PDT
<rdar://problem/53734203>
Comment 2 Keith Rollin 2019-07-30 16:34:32 PDT
Created attachment 375195 [details]
Patch
Comment 3 WebKit Commit Bot 2019-07-31 09:27:02 PDT
Comment on attachment 375195 [details]
Patch

Clearing flags on attachment: 375195

Committed r248044: <https://trac.webkit.org/changeset/248044>
Comment 4 WebKit Commit Bot 2019-07-31 09:27:04 PDT
All reviewed patches have been landed.  Closing bug.