[Webkit-unassigned] [Bug 149867] New: Format string issues in NetworkCache.cpp
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Oct 6 20:17:22 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=149867
Bug ID: 149867
Summary: Format string issues in NetworkCache.cpp
Classification: Unclassified
Product: WebKit
Version: Other
Hardware: PC
OS: Linux
Status: NEW
Severity: Minor
Priority: P2
Component: WebKit Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mcatanzaro at igalia.com
[1045/1606] Building CXX object Source...etworkProcess/cache/NetworkCache.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/NetworkProcess/cache/NetworkCache.cpp:26:
../../Source/WebKit2/NetworkProcess/cache/NetworkCache.cpp: In member function âvoid WebKit::NetworkCache::Cache::retrieve(const WebCore::ResourceRequest&, uint64_t, std::function<void(std::unique_ptr<WebKit::NetworkCache::Entry>)>)â:
../../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/NetworkProcess/cache/NetworkCache.cpp:337:5: note: in expansion of macro âLOGâ
LOG(NetworkCache, "(NetworkProcess) retrieving %s priority %u", originalRequest.url().string().ascii().data(), originalRequest.priority());
^
../../Source/WebKit2/NetworkProcess/cache/NetworkCache.cpp: In lambda function:
../../Source/WTF/wtf/Assertions.h:349:105: warning: format â%dâ expects argument of type âintâ, but argument 3 has type âWebKit::NetworkCache::UseDecisionâ [-Wformat=]
#define LOG(channel, ...) WTFLog(&JOIN_LOG_CHANNEL_WITH_PREFIX(LOG_CHANNEL_PREFIX, channel), __VA_ARGS__)
^
../../Source/WebKit2/NetworkProcess/cache/NetworkCache.cpp:383:9: note: in expansion of macro âLOGâ
LOG(NetworkCache, "(NetworkProcess) retrieve complete useDecision=%d priority=%u time=%" PRIi64 "ms", useDecision, originalRequest.priority(), elapsedMS);
^
../../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/NetworkProcess/cache/NetworkCache.cpp:383:9: note: in expansion of macro âLOGâ
LOG(NetworkCache, "(NetworkProcess) retrieve complete useDecision=%d priority=%u time=%" PRIi64 "ms", useDecision, originalRequest.priority(), elapsedMS);
^
../../Source/WebKit2/NetworkProcess/cache/NetworkCache.cpp: In member function âvoid WebKit::NetworkCache::Cache::store(const WebCore::ResourceRequest&, const WebCore::ResourceResponse&, WTF::RefPtr<WebCore::SharedBuffer>&&, std::function<void(WebKit::NetworkCache::MappedBody&)>)â:
../../Source/WTF/wtf/Assertions.h:349:105: warning: format â%dâ expects argument of type âintâ, but argument 3 has type âWebKit::NetworkCache::StoreDecisionâ [-Wformat=]
#define LOG(channel, ...) WTFLog(&JOIN_LOG_CHANNEL_WITH_PREFIX(LOG_CHANNEL_PREFIX, channel), __VA_ARGS__)
^
../../Source/WebKit2/NetworkProcess/cache/NetworkCache.cpp:409:9: note: in expansion of macro âLOGâ
LOG(NetworkCache, "(NetworkProcess) didn't store, storeDecision=%d", storeDecision);
^
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151007/e077a86b/attachment.html>
More information about the webkit-unassigned
mailing list