History

quiet compiler

Seth Alves committed 11 years ago

Commit 986bc711 parent 94288571 file · +1 −1Browse files

Showing the changes to interface/src/scripting/ControllerScriptingInterface.cpp (1 of 1 file). Show all

Unified · Split

interface/src/scripting/ControllerScriptingInterface.cpp+1−1
@@ -353,7 +353,7 @@ void InputController::update() { · 352 unmodified lines
353353 // TODO for now the InputController is only supporting a JointTracker from a MotionTracker
354354 MotionTracker* motionTracker = dynamic_cast< MotionTracker*> (DeviceTracker::getDevice(_deviceTrackerId));
355355 if (motionTracker) {
356− if (_subTrackerId < motionTracker->numJointTrackers()) {
356+ if ((int)_subTrackerId < motionTracker->numJointTrackers()) {
357357 const MotionTracker::JointTracker* joint = motionTracker->getJointTracker(_subTrackerId);
358358
359359 if (joint->isActive()) {