Bug 183997 - WebProcess memory monitor: use %zu format specifier for size_t
Summary: WebProcess memory monitor: use %zu format specifier for size_t
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Bindings (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Carlos Alberto Lopez Perez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-03-25 12:26 PDT by Carlos Alberto Lopez Perez
Modified: 2018-03-25 17:55 PDT (History)
13 users (show)

See Also:


Attachments
Patch (2.42 KB, patch)
2018-03-25 12:32 PDT, Carlos Alberto Lopez Perez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Alberto Lopez Perez 2018-03-25 12:26:14 PDT
%zu is the correct format specifier for size_t
Comment 1 Carlos Alberto Lopez Perez 2018-03-25 12:32:15 PDT
Created attachment 336497 [details]
Patch
Comment 2 Michael Catanzaro 2018-03-25 13:32:03 PDT
Comment on attachment 336497 [details]
Patch

Thanks for fixing this. We need to be really careful when printing integer types, since the types really do often differ in practice.
Comment 3 Carlos Alberto Lopez Perez 2018-03-25 17:54:27 PDT
Comment on attachment 336497 [details]
Patch

Clearing flags on attachment: 336497

Committed r229965: <https://trac.webkit.org/changeset/229965>
Comment 4 Carlos Alberto Lopez Perez 2018-03-25 17:54:31 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Radar WebKit Bug Importer 2018-03-25 17:55:23 PDT
<rdar://problem/38848827>