Bug 162662
| Summary: | [EFL] Fix debug build break since r206481 | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Joonghun Park <jh718.park> |
| Component: | WebKit EFL | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | lucas.de.marchi |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Joonghun Park
Fix the debug build error below.
In file included from ../../Source/WTF/wtf/StdLibExtras.h:33:0,
from ../../Source/WTF/wtf/FastMalloc.h:26,
from ../../Source/WebCore/config.h:75,
from ../../Source/WebCore/platform/graphics/BitmapImage.cpp:27:
../../Source/WebCore/platform/graphics/BitmapImage.cpp: In member function ‘virtual void WebCore::BitmapImage::draw(WebCore::GraphicsContext&, const WebCore::FloatRect&, const WebCore::FloatRect&, WebCore::CompositeOperator, WebCore::BlendMode, WebCore::ImageOrientationDescription)’:
../../Source/WTF/wtf/Assertions.h:394:68: error: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘WebCore::SubsamplingLevel’ [-Werror=format=]
#define LOG(channel, ...) WTFLog(&LOG_CHANNEL(channel), __VA_ARGS__)
^
../../Source/WebCore/platform/graphics/BitmapImage.cpp:158:5: note: in expansion of macro ‘LOG’
LOG(Images, "BitmapImage %p draw - subsamplingLevel %d at scale %.4f", this, subsamplingLevel, scale);
^
cc1plus: all warnings being treated as errors
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Joonghun Park
Committed r206502: <http://trac.webkit.org/changeset/206502>