From 6de41507a0fd8642b83c75e89c748cf5126601da Mon Sep 17 00:00:00 2001 From: Olivier Stasse <ostasse@laas.fr> Date: Fri, 23 Dec 2016 08:31:24 +0100 Subject: [PATCH] Fix warning on conversion from long int to unsigned int with eigen3 --- src/converter.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/converter.hh b/src/converter.hh index d3d910a..7c953b6 100644 --- a/src/converter.hh +++ b/src/converter.hh @@ -109,7 +109,7 @@ namespace dynamicgraph { //TODO: Confirm Ros Matrix Storage order. It changes the RosMatrix to ColMajor. - dst.width = src.rows (); + dst.width = (unsigned int)src.rows (); dst.data.resize (src.cols () * src.rows ()); for (int i = 0; i < src.cols () * src.rows (); ++i) dst.data[i] = src.data()[i]; -- GitLab