aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2016-10-05 22:17:34 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-10-06 02:34:59 +0000
commitd207884bf5d163057529c48342b9d4a8b994b982 (patch)
treef13b6478ed14d4a31e296003f45ce9224a829e17 /src/utils
parent374772bd61951f01bf84fe17bf53d8867681c9ae (diff)
fix printf warning in dumpcanvas
BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3040 Change-Id: I850609e499a670cda0fd09941345fe221fbeeffb Reviewed-on: https://skia-review.googlesource.com/3040 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
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 68bd13eccb..eda23b7eb0 100644
--- a/src/utils/SkDumpCanvas.cpp
+++ b/src/utils/SkDumpCanvas.cpp
@@ -210,7 +210,7 @@ SkCanvas::SaveLayerStrategy SkDumpCanvas::getSaveLayerStrategy(const SaveLayerRe
str.appendf(" alpha:0x%02X", paint->getAlpha());
}
if (!paint->isSrcOver()) {
- str.appendf(" blendmode:%d", paint->getBlendMode());
+ str.appendf(" blendmode:%d", (int)paint->getBlendMode());
}
}
this->dump(kSave_Verb, paint, str.c_str());