diff options
-rw-r--r-- | src/gpu/GrStencil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrStencil.h b/src/gpu/GrStencil.h index 78a156f9ea..713c2ed7d1 100644 --- a/src/gpu/GrStencil.h +++ b/src/gpu/GrStencil.h @@ -263,7 +263,7 @@ GR_STATIC_ASSERT(sizeof(GrStencilSettingsStruct) == sizeof(GrStencilSettings)); (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, \ |