From 6c82b87e83606d352121e95425fda3327f8be284 Mon Sep 17 00:00:00 2001 From: wmayer Date: Thu, 23 Mar 2017 22:18:48 +0100 Subject: [PATCH] fix signed vs unsigned warning --- src/Mod/Path/Gui/ViewProviderPath.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Path/Gui/ViewProviderPath.cpp b/src/Mod/Path/Gui/ViewProviderPath.cpp index 35fcecd331..450a5be55e 100644 --- a/src/Mod/Path/Gui/ViewProviderPath.cpp +++ b/src/Mod/Path/Gui/ViewProviderPath.cpp @@ -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;