Fix 1692825: Prevent import errors on amd64 by using String::size_type instead of...
authorpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Tue, 31 Jul 2007 08:07:15 +0000 (08:07 +0000)
committerpabs <pabs@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Tue, 31 Jul 2007 08:07:15 +0000 (08:07 +0000)
git-svn-id: http://svn.voria.com/code@549 1f10aa63-cdf2-0310-b900-c93c546f37ac

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," ");
                }