Bug 283312

Summary: Fix pas_log formatting for size_t and uintptr_t variables
Product: WebKit Reporter: Ian Grunert <ian.grunert>
Component: bmallocAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ggaren, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: PC   
OS: Windows 11   
Bug Depends on:    
Bug Blocks: 283311    

Ian Grunert
Reported 2024-11-18 11:50:45 PST
There's a number of errors when building on Windows due to pas_log, using %lu for size_t and uintptr_t types. For example: pas_log("sharing index = %lu\n", index); generates an error: error: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned long long') I think these should be using %zu instead.
Attachments
Ian Grunert
Comment 1 2024-11-20 09:59:40 PST
EWS
Comment 2 2024-11-20 13:53:42 PST
Committed 286873@main (c39daa0ab4e3): <https://commits.webkit.org/286873@main> Reviewed commits have been landed. Closing PR #36902 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2024-11-20 13:54:12 PST
Note You need to log in before you can comment on or make changes to this bug.