Fix 1692825: Prevent import errors on amd64 by using String::size_type instead of...
[synfig.git] / synfig-core / trunk / src / modules / lyr_std / import.cpp
index 2af6a4d..f6dae6c 100644 (file)
@@ -98,7 +98,7 @@ Import::set_param(const String & param, const ValueBase &value)
 
                // Get rid of any %20 crap
                {
-                       unsigned int n;
+                       String::size_type n;
                        while((n=newfilename.find("%20"))!=String::npos)
                                newfilename.replace(n,3," ");
                }