From 390bb20fd7a43500960560d67df5811a892ee3c6 Mon Sep 17 00:00:00 2001 From: jpr Date: Wed, 5 Jul 2006 13:08:32 +0000 Subject: [PATCH] Avoid warnings Darwin-gcc --- Testing/TestAllVM.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Testing/TestAllVM.cxx b/Testing/TestAllVM.cxx index d0ebb13e..fadab175 100644 --- a/Testing/TestAllVM.cxx +++ b/Testing/TestAllVM.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: TestAllVM.cxx,v $ Language: C++ - Date: $Date: 2006/06/30 09:47:35 $ - Version: $Revision: 1.13 $ + Date: $Date: 2006/07/05 13:08:32 $ + Version: $Revision: 1.14 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -39,7 +39,7 @@ int DoTheVMTest(std::string const &filename) gdcm::DataEntry *de; while(d) { - if ( de = dynamic_cast(d) ) + if ( (de = dynamic_cast(d)) ) { if ( !(de->GetGroup() % 2) ) // Don't check shadow elements. Righ now, // Private Dictionnary are not dealt with -- 2.45.1