From: jpr Date: Tue, 18 Oct 2005 10:19:27 +0000 (+0000) Subject: Avoid warnings : NULL is a 'pointer'; X-Git-Tag: OpenJPEG.Version1.2~335 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=9b4a50934722e24dd14b9f292c223e0f01cd605f;p=gdcm.git Avoid warnings : NULL is a 'pointer'; Don't assign it to a 'char' --- diff --git a/src/gdcmDataEntry.cxx b/src/gdcmDataEntry.cxx index a35ef4e7..11000d31 100644 --- a/src/gdcmDataEntry.cxx +++ b/src/gdcmDataEntry.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDataEntry.cxx,v $ Language: C++ - Date: $Date: 2005/10/18 08:35:51 $ - Version: $Revision: 1.1 $ + Date: $Date: 2005/10/18 10:19:27 $ + Version: $Revision: 1.2 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -196,7 +196,7 @@ double DataEntry::GetValue(const uint32_t &id) const { if( count == 0 ) { - tmp[i] = NULL; + tmp[i] = 0; break; } else