Code

fix warnings
[inkscape.git] / src / live_effects / lpeobject.cpp
index e7810fc28a81f0b6ccb6f8813c0df292ca8956c7..0a7fb5eb078eb946602c310bf48b9dc048ae3fd5 100644 (file)
@@ -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);