Bug 157892

Summary: [ARM] Fix Wformat warning in MemoryPressureHandler.cpp
Product: WebKit Reporter: Csaba Osztrogonác <ossy>
Component: New BugsAssignee: Csaba Osztrogonác <ossy>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, ossy
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 108645    
Attachments:
Description Flags
Patch none

Csaba Osztrogonác
Reported 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=]
Attachments
Patch (2.24 KB, patch)
2016-05-19 06:02 PDT, Csaba Osztrogonác
no flags
Csaba Osztrogonác
Comment 1 2016-05-19 06:02:05 PDT
Michael Saboff
Comment 2 2016-05-19 06:45:39 PDT
Comment on attachment 279384 [details] Patch r=me
WebKit Commit Bot
Comment 3 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>
WebKit Commit Bot
Comment 4 2016-05-19 07:18:55 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.