]> Creatis software - gdcm.git/commitdiff
* FIX : warning on linux plateforms for differents type of values comparison
authorregrain <regrain>
Thu, 25 Nov 2004 08:14:58 +0000 (08:14 +0000)
committerregrain <regrain>
Thu, 25 Nov 2004 08:14:58 +0000 (08:14 +0000)
   -- BeNours

Testing/TestCopyDicom.cxx

index 5a3aa14e53be95283d3eb6a6279c5ba565194dc2..347ea302d0d24a9f147ba386da4a5b39faf0553d 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: TestCopyDicom.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/11/24 16:39:18 $
-  Version:   $Revision: 1.20 $
+  Date:      $Date: 2004/11/25 08:14:58 $
+  Version:   $Revision: 1.21 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -152,7 +152,7 @@ int CopyDicom(std::string const & filename,
 
       //////////////// Step 5:
       std::cout << "5...";
-      int    dataSizeWritten = copy->GetImageDataSizeRaw();
+      size_t    dataSizeWritten = copy->GetImageDataSizeRaw();
       uint8_t* imageDataWritten = copy->GetImageDataRaw();
 
       if (dataSize != dataSizeWritten)