Skip to content

Commit

Permalink
fix signed vs unsigned warning
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Mar 23, 2017
1 parent 15e3da3 commit abe15bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Path/Gui/ViewProviderPath.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ void ViewProviderPath::updateShowConstraints() {

StartIndexConstraints.UpperBound = tp.getSize();

if(StartIndex.getValue() >= tp.getSize()) {
if (StartIndex.getValue() >= (long)tp.getSize()) {
int start = ((int)tp.getSize())-ShowCount.getValue();
if(start>=(int)tp.getSize())
start=tp.getSize()-1;
Expand Down

0 comments on commit abe15bb

Please sign in to comment.