From f6204e4795251ff95c653e32e8cdca61d2c19880 Mon Sep 17 00:00:00 2001 From: malaterre Date: Wed, 3 Nov 2004 18:14:52 +0000 Subject: [PATCH 1/1] COMP: Fix minor compilation warning on Win32 VS6 --- src/gdcmDocument.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gdcmDocument.cxx b/src/gdcmDocument.cxx index 550aa731..8f9f1382 100644 --- a/src/gdcmDocument.cxx +++ b/src/gdcmDocument.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDocument.cxx,v $ Language: C++ - Date: $Date: 2004/10/25 04:47:43 $ - Version: $Revision: 1.114 $ + Date: $Date: 2004/11/03 18:14:52 $ + Version: $Revision: 1.115 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -729,7 +729,7 @@ bool Document::ReplaceIfExistByNumber(std::string const & value, bool Document::CheckIfEntryExistByNumber(uint16_t group, uint16_t element ) { const std::string &key = DictEntry::TranslateToKey(group, element ); - return TagHT.count(key); + return TagHT.count(key) != 0; } /** -- 2.45.1