From a445902e56fd0f5b04cddc12f3c67d3b93ee46b8 Mon Sep 17 00:00:00 2001 From: nicopietroni Date: Wed, 23 Oct 2013 16:57:28 +0000 Subject: [PATCH] corrected 2 warnings on castings --- vcg/math/matrix44.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/math/matrix44.h b/vcg/math/matrix44.h index b7276c06..e84b00e7 100644 --- a/vcg/math/matrix44.h +++ b/vcg/math/matrix44.h @@ -254,7 +254,7 @@ typedef Matrix44 Matrix44d; template Matrix44::Matrix44(const Matrix44 &m) { - memcpy((T *)_a, (T *)m._a, 16 * sizeof(T)); + memcpy((T *)_a, (const T *)m._a, 16 * sizeof(T)); } template Matrix44::Matrix44(const T v[]) {