From 36aad46fe14e032258ce898a87c29d3bbc2ae4ed Mon Sep 17 00:00:00 2001 From: Gurpinder Singh Sandhu Date: Thu, 11 Apr 2013 22:32:50 +0530 Subject: [PATCH] changed reinterpret_cast to static_cast This issue seem to be lingering around for quite some time https://github.com/Itseez/opencv/pull/639 http://code.opencv.org/issues/2819 --- modules/core/include/opencv2/core/operations.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/core/include/opencv2/core/operations.hpp b/modules/core/include/opencv2/core/operations.hpp index 1170fc4074..9d8696a05d 100644 --- a/modules/core/include/opencv2/core/operations.hpp +++ b/modules/core/include/opencv2/core/operations.hpp @@ -686,7 +686,7 @@ template static inline Scalar operator * (const Matx<_Tp, 4, 4>& a, const Scalar& b) { Matx c(Matx(a), b, Matx_MatMulOp()); - return reinterpret_cast(c); + return static_cast(c); } @@ -694,7 +694,7 @@ static inline Scalar operator * (const Matx& a, const Scalar& b) { Matx c(a, b, Matx_MatMulOp()); - return reinterpret_cast(c); + return static_cast(c); }