From: malaterre Date: Sun, 5 Dec 2004 21:46:44 +0000 (+0000) Subject: BUG: This solve the infinite loop on gcc-64bits X-Git-Tag: Version1.0.bp~535 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;ds=sidebyside;h=4fa46bd01372e9022b80d2a69ff93a9dc8e70348;p=gdcm.git BUG: This solve the infinite loop on gcc-64bits --- diff --git a/src/gdcmUtil.cxx b/src/gdcmUtil.cxx index d952caf3..dc335e9c 100644 --- a/src/gdcmUtil.cxx +++ b/src/gdcmUtil.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmUtil.cxx,v $ Language: C++ - Date: $Date: 2004/12/03 20:43:37 $ - Version: $Revision: 1.68 $ + Date: $Date: 2004/12/05 21:46:44 $ + Version: $Revision: 1.69 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -94,7 +94,7 @@ int Util::CountSubstring (const std::string& str, const std::string& subStr) { int count = 0; // counts how many times it appears - unsigned int x = 0; // The index position in the string + std::string::size_type x = 0; // The index position in the string do {