Code

Filter effects dialog:
[inkscape.git] / src / layer-manager.cpp
index 4d92d37c846edf4030e495f9f0bdc24884b1222c..e6a34852d9dc6c2baf7bda49d03fe96b96eee526 100644 (file)
@@ -94,7 +94,7 @@ void LayerManager::renameLayer( SPObject* obj, gchar const *label )
     Glib::ustring base(incoming);
     guint startNum = 1;
 
-    size_t pos = base.rfind('#');
+    Glib::ustring::size_type pos = base.rfind('#');
     if ( pos != Glib::ustring::npos ) {
         gchar* numpart = g_strdup(base.substr(pos+1).c_str());
         if ( numpart ) {