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

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.