From 97e3e97762a5163aca7feecf86b300d27b6977de Mon Sep 17 00:00:00 2001 From: pabs Date: Tue, 31 Jul 2007 08:07:15 +0000 Subject: [PATCH] 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 --- synfig-core/trunk/src/modules/lyr_std/import.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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," "); } -- 2.7.4