diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-02-29 08:24:00 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-02-29 08:24:00 +0000 |
| commit | e823552a7c4409cdcdb5bf8af0ca1c52afc23ed8 (patch) | |
| tree | e7afaab232878e717e0e737c1767c2eaa3716ce8 /src/live_effects | |
| parent | Warning cleanup (diff) | |
| download | inkscape-e823552a7c4409cdcdb5bf8af0ca1c52afc23ed8.tar.gz inkscape-e823552a7c4409cdcdb5bf8af0ca1c52afc23ed8.zip | |
fix warnings
(bzr r4905)
Diffstat (limited to 'src/live_effects')
| -rw-r--r-- | src/live_effects/lpe-curvestitch.cpp | 4 | ||||
| -rw-r--r-- | src/live_effects/lpeobject.cpp | 2 | ||||
| -rw-r--r-- | src/live_effects/lpeobject.h | 2 |
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. |
