Bug 157892 - [ARM] Fix Wformat warning in MemoryPressureHandler.cpp
Summary: [ARM] Fix Wformat warning in MemoryPressureHandler.cpp
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Csaba Osztrogonác
URL:
Keywords:
Depends on:
Blocks: 108645
  Show dependency treegraph
 
Reported: 2016-05-19 06:01 PDT by Csaba Osztrogonác
Modified: 2016-05-19 07:18 PDT (History)
2 users (show)

See Also:


Attachments
Patch (2.24 KB, patch)
2016-05-19 06:02 PDT, Csaba Osztrogonác
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Csaba Osztrogonác 2016-05-19 06:01:13 PDT
../../Source/WebCore/platform/MemoryPressureHandler.cpp: In member function 'void WebCore::MemoryPressureHandler::ReliefLogger::logMemoryUsageChange()':
../../Source/WebCore/platform/MemoryPressureHandler.cpp:205:156: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka unsigned int}' [-Werror=format=]
../../Source/WebCore/platform/MemoryPressureHandler.cpp:205:156: error: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t {aka unsigned int}' [-Werror=format=]
../../Source/WebCore/platform/MemoryPressureHandler.cpp:207:149: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka unsigned int}' [-Werror=format=]
../../Source/WebCore/platform/MemoryPressureHandler.cpp:207:149: error: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t {aka unsigned int}' [-Werror=format=]
../../Source/WebCore/platform/MemoryPressureHandler.cpp:209:107: error: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka unsigned int}' [-Werror=format=]
Comment 1 Csaba Osztrogonác 2016-05-19 06:02:05 PDT
Created attachment 279384 [details]
Patch
Comment 2 Michael Saboff 2016-05-19 06:45:39 PDT
Comment on attachment 279384 [details]
Patch

r=me
Comment 3 WebKit Commit Bot 2016-05-19 07:18:53 PDT
Comment on attachment 279384 [details]
Patch

Clearing flags on attachment: 279384

Committed r201162: <http://trac.webkit.org/changeset/201162>
Comment 4 WebKit Commit Bot 2016-05-19 07:18:55 PDT
All reviewed patches have been landed.  Closing bug.