]> Creatis software - gdcm.git/commitdiff
Avoid warnings : NULL is a 'pointer';
authorjpr <jpr>
Tue, 18 Oct 2005 10:19:27 +0000 (10:19 +0000)
committerjpr <jpr>
Tue, 18 Oct 2005 10:19:27 +0000 (10:19 +0000)
Don't assign it to a 'char'

src/gdcmDataEntry.cxx

index a35ef4e7f22007b7a9d9535f88ede76df0536af0..11000d315ebbfc9607e52d99076e87d225a243d8 100644 (file)
@@ -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