From: regrain Date: Thu, 25 Nov 2004 08:14:58 +0000 (+0000) Subject: * FIX : warning on linux plateforms for differents type of values comparison X-Git-Tag: Version1.0.bp~570 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=c0ee8512e46a41857db79dd156c16d668cb0d34b;p=gdcm.git * FIX : warning on linux plateforms for differents type of values comparison -- BeNours --- diff --git a/Testing/TestCopyDicom.cxx b/Testing/TestCopyDicom.cxx index 5a3aa14e..347ea302 100644 --- a/Testing/TestCopyDicom.cxx +++ b/Testing/TestCopyDicom.cxx @@ -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)