commit | a2be2cc798f57a586dc36ed740e8d761362a966e | [log] [tgz] |
---|---|---|
author | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed May 29 16:19:48 2013 +0000 |
committer | reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed May 29 16:19:48 2013 +0000 |
tree | 1b18398ccc5bf8005cdfdda66f88526cf7e67dd6 | |
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
diff --git a/bench/BitmapBench.cpp b/bench/BitmapBench.cpp index a6d2096..6091d46 100644 --- a/bench/BitmapBench.cpp +++ b/bench/BitmapBench.cpp
@@ -171,7 +171,7 @@ return 1; #else return (paint.getFlags() & SkPaint::kBicubicFilterBitmap_Flag) ? - BICUBIC_DUR_SCALE : 1; + (float)BICUBIC_DUR_SCALE : 1; #endif }