diff options
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-05-29 16:19:48 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-05-29 16:19:48 +0000 |
commit | a2be2cc798f57a586dc36ed740e8d761362a966e (patch) | |
tree | 1b18398ccc5bf8005cdfdda66f88526cf7e67dd6 /bench/BitmapBench.cpp | |
parent | ef77ec210416733e38072175cc948dcbdb831685 (diff) |
cast enum to float to fix (really bad) warning
git-svn-id: http://skia.googlecode.com/svn/trunk@9316 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'bench/BitmapBench.cpp')
-rw-r--r-- | bench/BitmapBench.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |