summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/live_effects/lpe-curvestitch.cpp4
-rw-r--r--src/live_effects/lpeobject.cpp2
-rw-r--r--src/live_effects/lpeobject.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/live_effects/lpe-curvestitch.cpp b/src/live_effects/lpe-curvestitch.cpp
index e72f1aac1..85d6e5e8f 100644
--- a/src/live_effects/lpe-curvestitch.cpp
+++ b/src/live_effects/lpe-curvestitch.cpp
@@ -89,8 +89,8 @@ LPECurveStitch::doEffect_path (std::vector<Geom::Path> & path_in)
std::vector<Geom::Path> path_out;
// do this for all permutations (ii,jj) if there are more than 2 paths? realllly cool!
- for (int ii = 0 ; ii < path_in.size() - 1; ii++)
- for (int jj = ii+1; jj < path_in.size(); jj++)
+ for (unsigned ii = 0 ; ii < path_in.size() - 1; ii++)
+ for (unsigned jj = ii+1; jj < path_in.size(); jj++)
{
Piecewise<D2<SBasis> > A = arc_length_parametrization(Piecewise<D2<SBasis> >(path_in[ii].toPwSb()),2,.1);
Piecewise<D2<SBasis> > B = arc_length_parametrization(Piecewise<D2<SBasis> >(path_in[jj].toPwSb()),2,.1);
diff --git a/src/live_effects/lpeobject.cpp b/src/live_effects/lpeobject.cpp
index e7810fc28..0a7fb5eb0 100644
--- a/src/live_effects/lpeobject.cpp
+++ b/src/live_effects/lpeobject.cpp
@@ -256,7 +256,7 @@ livepatheffect_on_repr_attr_changed ( Inkscape::XML::Node * /*repr*/,
* returns 'this' when no forking was necessary (and therefore no duplicate was made)
*/
LivePathEffectObject *
-LivePathEffectObject::fork_private_if_necessary(int nr_of_allowed_users)
+LivePathEffectObject::fork_private_if_necessary(unsigned int nr_of_allowed_users)
{
if (SP_OBJECT_HREFCOUNT(this) > nr_of_allowed_users) {
SPDocument *doc = SP_OBJECT_DOCUMENT(this);
diff --git a/src/live_effects/lpeobject.h b/src/live_effects/lpeobject.h
index ede645eea..f141f07ca 100644
--- a/src/live_effects/lpeobject.h
+++ b/src/live_effects/lpeobject.h
@@ -23,7 +23,7 @@ public:
bool effecttype_set;
- LivePathEffectObject * fork_private_if_necessary(int nr_of_allowed_users = 1);
+ LivePathEffectObject * fork_private_if_necessary(unsigned int nr_of_allowed_users = 1);
};
/// The LivePathEffect vtable.