cast enum to float to fix (really bad) warning

git-svn-id: http://skia.googlecode.com/svn/trunk@9316 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@google.com 2013-05-29 16:19:48 +00:00
parent ef77ec2104
commit a2be2cc798

View File

@ -171,7 +171,7 @@ protected:
return 1;
#else
return (paint.getFlags() & SkPaint::kBicubicFilterBitmap_Flag) ?
BICUBIC_DUR_SCALE : 1;
(float)BICUBIC_DUR_SCALE : 1;
#endif
}