From 4cfd5af26e5fab1699cfa2ab40d49c24cededd72 Mon Sep 17 00:00:00 2001 From: reed Date: Mon, 3 Oct 2016 14:20:40 -0700 Subject: [PATCH] add cast for tostring to fix google3 BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2385353002 TBR=True NOTRY=True Review-Url: https://codereview.chromium.org/2385353002 --- src/effects/SkXfermodeImageFilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/effects/SkXfermodeImageFilter.cpp b/src/effects/SkXfermodeImageFilter.cpp index 2335a760fb..420e6e2ab4 100644 --- a/src/effects/SkXfermodeImageFilter.cpp +++ b/src/effects/SkXfermodeImageFilter.cpp @@ -188,7 +188,7 @@ void SkXfermodeImageFilter_Base::drawForeground(SkCanvas* canvas, SkSpecialImage #ifndef SK_IGNORE_TO_STRING void SkXfermodeImageFilter_Base::toString(SkString* str) const { str->appendf("SkXfermodeImageFilter: ("); - str->appendf("blendmode: (%d)", fMode); + str->appendf("blendmode: (%d)", (int)fMode); if (this->getInput(0)) { str->appendf("foreground: ("); this->getInput(0)->toString(str);