Bug 149868 - Format string issue in WebResourceLoadScheduler.cpp
Summary: Format string issue in WebResourceLoadScheduler.cpp
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: Other
Hardware: PC Linux
: P2 Minor
Assignee: Michael Catanzaro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-06 20:17 PDT by Michael Catanzaro
Modified: 2015-10-08 08:27 PDT (History)
3 users (show)

See Also:


Attachments
Patch (2.04 KB, patch)
2015-10-06 21:25 PDT, Michael Catanzaro
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 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());
     ^
Comment 1 Michael Catanzaro 2015-10-06 21:25:39 PDT
Created attachment 262577 [details]
Patch
Comment 2 WebKit Commit Bot 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>
Comment 3 WebKit Commit Bot 2015-10-08 08:27:41 PDT
All reviewed patches have been landed.  Closing bug.