aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2016-10-06 07:14:39 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-10-06 07:14:39 -0700
commitb55ebf071dce33794f5518dcdc3a9af006285796 (patch)
treea6ec34d031bb30f89987b25c4f4eb7124ce81bdb /src/utils
parentf114a9bb4ea1169ce9ad59938403aabca105fdee (diff)
fix other printf warning for SkBlendMode
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/SkDumpCanvas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/SkDumpCanvas.cpp b/src/utils/SkDumpCanvas.cpp
index eda23b7eb0..eb5606845b 100644
--- a/src/utils/SkDumpCanvas.cpp
+++ b/src/utils/SkDumpCanvas.cpp
@@ -541,7 +541,7 @@ void SkFormatDumper::dump(SkDumpCanvas* canvas, SkDumpCanvas::Verb verb,
if (p) {
msg.appendf(" color:0x%08X flags:%X", p->getColor(), p->getFlags());
if (!p->isSrcOver()) {
- msg.appendf(" blendmode:%d", p->getBlendMode());
+ msg.appendf(" blendmode:%d", (int)p->getBlendMode());
}
appendFlattenable(&msg, p->getShader(), "shader");
appendFlattenable(&msg, p->getPathEffect(), "pathEffect");