From: jpr Date: Fri, 4 Nov 2005 16:08:08 +0000 (+0000) Subject: Avoid warnings X-Git-Tag: OpenJPEG.Version1.2~48 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=7eb1927568e2d3ffcf41f9c04700865a6092b047;p=gdcm.git Avoid warnings --- diff --git a/src/gdcmValidator.cxx b/src/gdcmValidator.cxx index a8f1b507..c287469f 100644 --- a/src/gdcmValidator.cxx +++ b/src/gdcmValidator.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmValidator.cxx,v $ Language: C++ - Date: $Date: 2005/11/03 08:28:40 $ - Version: $Revision: 1.7 $ + Date: $Date: 2005/11/04 16:08:08 $ + Version: $Revision: 1.8 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -53,7 +53,7 @@ bool CheckVM(DataEntry *entry) } */ - int n = Util::CountSubstring( s , "\\"); + unsigned int n = Util::CountSubstring( s , "\\"); n++; // number of '\' + 1 == Value Multiplicity