Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Sep 27, 2015
1 parent 0ef3a05 commit 6fea753
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/Mod/Sketcher/App/planegcs/Constraints.cpp
Expand Up @@ -89,10 +89,10 @@ int Constraint::findParamInPvec(double *param)
int ret = -1;
for( std::size_t i=0 ; i<pvec.size() ; i++ ){
if ( param == pvec[i] ) {
ret = i;
ret = static_cast<int>(i);
break;
};
};
}
}
return ret;
}

Expand Down
4 changes: 2 additions & 2 deletions src/Mod/Sketcher/App/planegcs/SubSystem.cpp
Expand Up @@ -48,7 +48,7 @@ SubSystem::~SubSystem()

void SubSystem::initialize(VEC_pD &params, MAP_pD_pD &reductionmap)
{
csize = clist.size();
csize = static_cast<int>(clist.size());

// tmpplist will contain the subset of parameters from params that are
// relevant for the constraints listed in clist
Expand Down Expand Up @@ -95,7 +95,7 @@ void SubSystem::initialize(VEC_pD &params, MAP_pD_pD &reductionmap)
else
plist = tmpplist;

psize = plist.size();
psize = static_cast<int>(plist.size());
pvals.resize(psize);
pmap.clear();
for (int j=0; j < psize; j++) {
Expand Down

0 comments on commit 6fea753

Please sign in to comment.