From: pabs Date: Tue, 31 Jul 2007 08:07:15 +0000 (+0000) Subject: Fix 1692825: Prevent import errors on amd64 by using String::size_type instead of... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=97e3e97762a5163aca7feecf86b300d27b6977de;p=synfig.git Fix 1692825: Prevent import errors on amd64 by using String::size_type instead of unsigned int when scanning strings. Thanks rore :D git-svn-id: http://svn.voria.com/code@549 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/modules/lyr_std/import.cpp b/synfig-core/trunk/src/modules/lyr_std/import.cpp index 2af6a4d..f6dae6c 100644 --- a/synfig-core/trunk/src/modules/lyr_std/import.cpp +++ b/synfig-core/trunk/src/modules/lyr_std/import.cpp @@ -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," "); }