diff --git a/bench/BitmapBench.cpp b/bench/BitmapBench.cpp index a6d20966ea..6091d46766 100644 --- a/bench/BitmapBench.cpp +++ b/bench/BitmapBench.cpp @@ -171,7 +171,7 @@ protected: return 1; #else return (paint.getFlags() & SkPaint::kBicubicFilterBitmap_Flag) ? - BICUBIC_DUR_SCALE : 1; + (float)BICUBIC_DUR_SCALE : 1; #endif }