From 9bde6f3f31e9228fc14b705656e63fa00070cb80 Mon Sep 17 00:00:00 2001 From: jpr Date: Fri, 4 Nov 2005 08:59:08 +0000 Subject: [PATCH] Avoid bool / int warning --- Example/exXCoherentFileSet.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Example/exXCoherentFileSet.cxx b/Example/exXCoherentFileSet.cxx index b2af110e..311373f1 100755 --- a/Example/exXCoherentFileSet.cxx +++ b/Example/exXCoherentFileSet.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: exXCoherentFileSet.cxx,v $ Language: C++ - Date: $Date: 2005/11/02 10:08:18 $ - Version: $Revision: 1.2 $ + Date: $Date: 2005/11/04 08:59:08 $ + Version: $Revision: 1.3 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -84,9 +84,9 @@ int main(int argc, char *argv[]) // FIXME : check only one of them is set ! - bool pos = am->ArgMgrDefined("pos"); - bool ori = am->ArgMgrDefined("ori"); - bool tag = am->ArgMgrDefined("tag"); + int pos = am->ArgMgrDefined("pos"); + int ori = am->ArgMgrDefined("ori"); + int tag = am->ArgMgrDefined("tag"); int nb; uint16_t *groupelem; @@ -143,7 +143,7 @@ int main(int argc, char *argv[]) { std::cout << "Split the 'Single SerieUID' FileSet :[" << s->GetCurrentSerieUIDFileSetUID() - << "] " << nbFiles << " long" << std::endl; + << "] " << nbFiles << " long" << std::endl; std::cout << "-----------------------------------" << std::endl; if (ori) -- 2.45.1