fix another int -- float warning
git-svn-id: http://skia.googlecode.com/svn/trunk@9384 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/colortype.cpp b/gm/colortype.cpp
index 89bd624..4cb16fa 100644
--- a/gm/colortype.cpp
+++ b/gm/colortype.cpp
@@ -50,7 +50,7 @@
paint.setAntiAlias(true);
paint.setTypeface(fColorType);
- for (int size = 10; size <= 100; size += 10) {
+ for (SkScalar size = 10; size <= 100; size += 10) {
paint.setTextSize(size);
canvas->translate(0, paint.getFontMetrics(NULL));
canvas->drawText("Hamburgefons", 12, 10, 10, paint);