From f49747f5fc85ea2acf0c5ff0ab589ad791bf6648 Mon Sep 17 00:00:00 2001 From: tsepez Date: Fri, 10 Jun 2016 15:24:47 -0700 Subject: Trust the compiler to do array indexing and superclass promotion. Review-Url: https://codereview.chromium.org/2063463002 --- xfa/fxbarcode/qrcode/BC_QRDetector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xfa/fxbarcode/qrcode') diff --git a/xfa/fxbarcode/qrcode/BC_QRDetector.cpp b/xfa/fxbarcode/qrcode/BC_QRDetector.cpp index 3ed1ea14b8..a5be32a232 100644 --- a/xfa/fxbarcode/qrcode/BC_QRDetector.cpp +++ b/xfa/fxbarcode/qrcode/BC_QRDetector.cpp @@ -91,7 +91,7 @@ CBC_QRDetectorResult* CBC_QRDetector::ProcessFinderPatternInfo( } CBC_CommonBitMatrix* bits = SampleGrid(m_image, topLeft.get(), topRight.get(), bottomLeft.get(), - (CBC_ResultPoint*)(alignmentPattern), dimension, e); + alignmentPattern, dimension, e); BC_EXCEPTION_CHECK_ReturnValue(e, nullptr); CFX_ArrayTemplate* points = -- cgit v1.2.3