fix other printf warning for SkBlendMode

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2393253003

Review-Url: https://codereview.chromium.org/2393253003
This commit is contained in:
reed 2016-10-06 07:14:39 -07:00 committed by Commit bot
parent f114a9bb4e
commit b55ebf071d

View File

@ -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");