diff options
Diffstat (limited to 'src/core/SkDraw.cpp')
-rw-r--r-- | src/core/SkDraw.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp index 2c8eb84845..097569fab2 100644 --- a/src/core/SkDraw.cpp +++ b/src/core/SkDraw.cpp @@ -723,11 +723,11 @@ SkDraw::RectType SkDraw::ComputeRectType(const SkPaint& paint, } static const SkPoint* rect_points(const SkRect& r) { - return SkTCast<const SkPoint*>(&r); + return reinterpret_cast<const SkPoint*>(&r); } static SkPoint* rect_points(SkRect& r) { - return SkTCast<SkPoint*>(&r); + return reinterpret_cast<SkPoint*>(&r); } static void draw_rect_as_path(const SkDraw& orig, const SkRect& prePaintRect, |