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[]) {