From 9b4a50934722e24dd14b9f292c223e0f01cd605f Mon Sep 17 00:00:00 2001 From: jpr Date: Tue, 18 Oct 2005 10:19:27 +0000 Subject: [PATCH] Avoid warnings : NULL is a 'pointer'; Don't assign it to a 'char' --- src/gdcmDataEntry.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.48.1