From: malaterre Date: Wed, 24 Aug 2005 03:42:40 +0000 (+0000) Subject: COMP: Fix compilation for VS6 X-Git-Tag: Version1.2.bp~206 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=aedf83c26c99c5e632f159b91138b0e178b9fb4b;p=gdcm.git COMP: Fix compilation for VS6 --- diff --git a/src/gdcmSeqEntry.cxx b/src/gdcmSeqEntry.cxx index bf70926d..8f5e4731 100644 --- a/src/gdcmSeqEntry.cxx +++ b/src/gdcmSeqEntry.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmSeqEntry.cxx,v $ Language: C++ - Date: $Date: 2005/08/23 12:58:49 $ - Version: $Revision: 1.56 $ + Date: $Date: 2005/08/24 03:42:40 $ + Version: $Revision: 1.57 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -228,10 +228,11 @@ void SeqEntry::Print( std::ostream &os, std::string const & ) // at end, print the sequence terminator item, if any if (DelimitorMode) { - for ( int i = 0; i < SQDepthLevel; i++ ) + int i; + for ( i = 0; i < SQDepthLevel; i++ ) os << " | " ; os << " --- " << std::endl; - for ( int i = 0; i < SQDepthLevel; i++ ) + for ( i = 0; i < SQDepthLevel; i++ ) os << " | " ; if (SeqTerm != NULL) {