fix warnings, including using GrTCast<> to go from &Obj -> uint32_t*
git-svn-id: http://skia.googlecode.com/svn/trunk@732 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/shadertext.cpp b/gm/shadertext.cpp
index 07b8861..1cf562c 100644
--- a/gm/shadertext.cpp
+++ b/gm/shadertext.cpp
@@ -12,7 +12,7 @@
SkCanvas canvas(*bm);
SkScalar s = w < h ? w : h;
- SkPoint pts[] = { 0, 0, s, s };
+ SkPoint pts[] = { { 0, 0 }, { s, s } };
SkColor colors[] = { SK_ColorRED, SK_ColorGREEN, SK_ColorBLUE };
SkScalar pos[] = { 0, SK_Scalar1/2, SK_Scalar1 };
SkPaint paint;