From cafc0a767ff7852a805dfb3a08b6c7f712444c8f Mon Sep 17 00:00:00 2001 From: MenTaLguY Date: Sun, 18 Mar 2007 18:39:13 +0000 Subject: fix 64-bit issues with width of npos -- patch #1675697 from mellum (Falk Hueffner) (bzr r2695) --- src/extension/implementation/script.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/extension/implementation/script.cpp') diff --git a/src/extension/implementation/script.cpp b/src/extension/implementation/script.cpp index 003f1fc64..af70a04f0 100644 --- a/src/extension/implementation/script.cpp +++ b/src/extension/implementation/script.cpp @@ -293,8 +293,8 @@ Script::check_existance(const Glib::ustring &command) The default search path is the current directory */ path = G_SEARCHPATH_SEPARATOR_S; - unsigned int pos = 0; - unsigned int pos2 = 0; + std::string::size_type pos = 0; + std::string::size_type pos2 = 0; while ( pos < path.size() ) { Glib::ustring localPath; -- cgit v1.2.3