Index: samplecode/SampleSlides.cpp |
diff --git a/samplecode/SampleSlides.cpp b/samplecode/SampleSlides.cpp |
index 9372d5d468f3fc804a0cfcbdfb6f04e2a0d7e821..68651f3ea10225baeb241a7a9fe3c559cba7d7e5 100644 |
--- a/samplecode/SampleSlides.cpp |
+++ b/samplecode/SampleSlides.cpp |
@@ -646,7 +646,7 @@ static void texteffect_slide(SkCanvas* canvas) { |
paint.setAntiAlias(true); |
paint.setColor(SK_ColorBLUE); |
for (size_t i = 0; i < SK_ARRAY_COUNT(gRastProcs); i++) { |
- apply_shader(&paint, i); |
+ apply_shader(&paint, (int)i); |
canvas->drawText(str, len, x, y, paint); |
y += 80; |
if (i == 4) { |