changeset 277:21f14fadd098

removed warning
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Fri, 14 Dec 2012 01:01:26 -0500
parents 78922b4de3bf
children f21ef87f98f1
files c/Motion.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/c/Motion.cpp	Fri Dec 14 01:01:13 2012 -0500
+++ b/c/Motion.cpp	Fri Dec 14 01:01:26 2012 -0500
@@ -196,7 +196,7 @@
 #ifdef DEBUG
     cout << i << " " << lastInstants[i] << endl;
 #endif
-    if (static_cast<int>(lastInstants[i]) < lastInstant)
+    if (lastInstants[i] < lastInstant)
       objectHypotheses.push_back(tmpobjects[i]);
   }
 }