From: jpr Date: Thu, 17 Feb 2005 10:53:21 +0000 (+0000) Subject: Fix misstyping X-Git-Tag: Version1.2.bp~873 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=97d652e4a54b414d3dacead9d31e9597e6f516e5;p=gdcm.git Fix misstyping --- diff --git a/src/gdcmPixelReadConvert.cxx b/src/gdcmPixelReadConvert.cxx index a909e8d3..89ae9952 100644 --- a/src/gdcmPixelReadConvert.cxx +++ b/src/gdcmPixelReadConvert.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmPixelReadConvert.cxx,v $ Language: C++ - Date: $Date: 2005/02/16 10:19:19 $ - Version: $Revision: 1.51 $ + Date: $Date: 2005/02/17 10:53:21 $ + Version: $Revision: 1.52 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -644,8 +644,6 @@ void PixelReadConvert::ConvertReorderEndianity() } } - - /** * \brief Deal with Grey levels i.e. re-arange them * to have low values = dark, high values = bright @@ -655,7 +653,8 @@ void PixelReadConvert::ConvertFixGreyLevels() if (!IsMonochrome1) return; - int i; // to please M$VC6 + uint32_t i; // to please M$VC6 + int16_t j; if (!PixelSign) { @@ -673,8 +672,7 @@ void PixelReadConvert::ConvertFixGreyLevels() if ( BitsAllocated == 16 ) { uint16_t mask =1; - int bitStored = 12; - for (i=0; i