diff --git a/src/layer-manager.cpp b/src/layer-manager.cpp
index 4d92d37c846edf4030e495f9f0bdc24884b1222c..e6a34852d9dc6c2baf7bda49d03fe96b96eee526 100644 (file)
--- a/src/layer-manager.cpp
+++ b/src/layer-manager.cpp
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 ) {