From: malaterre Date: Wed, 3 Nov 2004 18:14:52 +0000 (+0000) Subject: COMP: Fix minor compilation warning on Win32 VS6 X-Git-Tag: Version0.6.bp~18 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=f6204e4795251ff95c653e32e8cdca61d2c19880;p=gdcm.git COMP: Fix minor compilation warning on Win32 VS6 --- 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; } /**