Skip to content

Commit

Permalink
windows: annoying warnings removed
Browse files Browse the repository at this point in the history
svn path=/trunk/yarp2/; revision=8384
  • Loading branch information
pattacini committed Nov 26, 2010
1 parent c77fc9b commit 3022850
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libYARP_sig/src/Vector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -257,10 +257,10 @@ ConstString Vector::toString()
Vector Vector::subVector(unsigned int first, unsigned int last) const
{
Vector ret;
if((first<=last)&&(last<storage.size()))
if((first<=last)&&((int)last<storage.size()))
{
ret.resize(last-first+1);
for(int k=first; k<=last; k++)
for(unsigned int k=first; k<=last; k++)
ret[k-first]=storage[k];
}
return ret;
Expand Down

0 comments on commit 3022850

Please sign in to comment.