RESOLVED FIXED 149868
Format string issue in WebResourceLoadScheduler.cpp
https://bugs.webkit.org/show_bug.cgi?id=149868
Summary Format string issue in WebResourceLoadScheduler.cpp
Michael Catanzaro
Reported 2015-10-06 20:17:33 PDT
[978/1606] Building CXX object Source/...Network/WebResourceLoadScheduler.cpp.o In file included from ../../Source/WTF/wtf/StdLibExtras.h:32:0, from ../../Source/WTF/wtf/FastMalloc.h:26, from ../../Source/WebKit2/config.h:44, from ../../Source/WebKit2/WebProcess/Network/WebResourceLoadScheduler.cpp:26: ../../Source/WebKit2/WebProcess/Network/WebResourceLoadScheduler.cpp: In member function ‘void WebKit::WebResourceLoadScheduler::scheduleLoad(WebCore::ResourceLoader*, WebCore::CachedResource*, bool)’: ../../Source/WTF/wtf/Assertions.h:349:105: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘WebCore::ResourceLoadPriority’ [-Wformat=] #define LOG(channel, ...) WTFLog(&JOIN_LOG_CHANNEL_WITH_PREFIX(LOG_CHANNEL_PREFIX, channel), __VA_ARGS__) ^ ../../Source/WebKit2/WebProcess/Network/WebResourceLoadScheduler.cpp:158:5: note: in expansion of macro ‘LOG’ LOG(NetworkScheduling, "(WebProcess) WebResourceLoadScheduler::scheduleLoad, url '%s' will be scheduled with the NetworkProcess with priority %u", resourceLoader->url().string().utf8().data(), resourceLoader->request().priority()); ^
Attachments
Patch (2.04 KB, patch)
2015-10-06 21:25 PDT, Michael Catanzaro
no flags
Michael Catanzaro
Comment 1 2015-10-06 21:25:39 PDT
WebKit Commit Bot
Comment 2 2015-10-08 08:27:38 PDT
Comment on attachment 262577 [details] Patch Clearing flags on attachment: 262577 Committed r190724: <http://trac.webkit.org/changeset/190724>
WebKit Commit Bot
Comment 3 2015-10-08 08:27:41 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.