diff options
Diffstat (limited to 'intern/iksolver')
-rw-r--r-- | intern/iksolver/intern/IK_QJacobianSolver.cpp | 2 | ||||
-rw-r--r-- | intern/iksolver/intern/IK_Solver.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/intern/iksolver/intern/IK_QJacobianSolver.cpp b/intern/iksolver/intern/IK_QJacobianSolver.cpp index e5d8e19e92a..450baf8fa9e 100644 --- a/intern/iksolver/intern/IK_QJacobianSolver.cpp +++ b/intern/iksolver/intern/IK_QJacobianSolver.cpp @@ -253,7 +253,7 @@ UpdateChain( vector<IK_QSegment> &segs = chain.Segments(); - int seg_ind = 0; + unsigned int seg_ind = 0; for (seg_ind = 0;seg_ind < segs.size(); seg_ind++) { MT_Vector3 dq; diff --git a/intern/iksolver/intern/IK_Solver.cpp b/intern/iksolver/intern/IK_Solver.cpp index 238e2d2ee97..d04b0de0daf 100644 --- a/intern/iksolver/intern/IK_Solver.cpp +++ b/intern/iksolver/intern/IK_Solver.cpp @@ -80,7 +80,7 @@ IK_LoadChain( if (intern_cpp == NULL) return 0; std::vector<IK_QSegment> & segs = intern_cpp->Chain().Segments(); - if (segs.size() != num_segs) { + if (segs.size() != (unsigned int) num_segs) { segs = std::vector<IK_QSegment>(num_segs); } |