From 4fa46bd01372e9022b80d2a69ff93a9dc8e70348 Mon Sep 17 00:00:00 2001 From: malaterre Date: Sun, 5 Dec 2004 21:46:44 +0000 Subject: [PATCH] BUG: This solve the infinite loop on gcc-64bits --- src/gdcmUtil.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 { -- 2.46.1