GCC requires reinterpret_cast rather than static_cast to cast to privately inherited subclass
git-svn-id: http://skia.googlecode.com/svn/trunk@2882 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrStencil.h b/src/gpu/GrStencil.h
index 78a156f..713c2ed 100644
--- a/src/gpu/GrStencil.h
+++ b/src/gpu/GrStencil.h
@@ -263,7 +263,7 @@
(FRONT_WRITE_MASK), (BACK_WRITE_MASK) \
}; \
static const GrStencilSettings& NAME = \
- *static_cast<const GrStencilSettings*>(&(NAME ## _STRUCT))
+ *reinterpret_cast<const GrStencilSettings*>(&(NAME ## _STRUCT))
#endif
#define GR_STATIC_CONST_SAME_STENCIL(NAME, \