From: malaterre Date: Tue, 11 Jan 2005 22:46:22 +0000 (+0000) Subject: BUG: Fix bug for Philips NTSCAN, this was fixed everywhere except the main tree... X-Git-Tag: Version1.0.bp~384 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=0f2a60bf2a0d1ddab03f0ed30e2e382da2bc3f79;p=gdcm.git BUG: Fix bug for Philips NTSCAN, this was fixed everywhere except the main tree... --- diff --git a/src/gdcmDocument.cxx b/src/gdcmDocument.cxx index 9557f569..24777f51 100644 --- a/src/gdcmDocument.cxx +++ b/src/gdcmDocument.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDocument.cxx,v $ Language: C++ - Date: $Date: 2005/01/11 22:40:31 $ - Version: $Revision: 1.178 $ + Date: $Date: 2005/01/11 22:46:22 $ + Version: $Revision: 1.179 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -2339,7 +2339,7 @@ void Document::SetMaxSizePrintEntry(long newSize) * apparent reason * @return no return */ -void Document::HandleBrokenEndian(uint16_t group, uint16_t elem) +void Document::HandleBrokenEndian(uint16_t &group, uint16_t &elem) { // Endian reversion. Some files contain groups of tags with reversed endianess. static int reversedEndian = 0; diff --git a/src/gdcmDocument.h b/src/gdcmDocument.h index 59fbb270..3b33d635 100644 --- a/src/gdcmDocument.h +++ b/src/gdcmDocument.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDocument.h,v $ Language: C++ - Date: $Date: 2005/01/11 17:19:39 $ - Version: $Revision: 1.81 $ + Date: $Date: 2005/01/11 22:46:22 $ + Version: $Revision: 1.82 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -221,7 +221,7 @@ private: void BuildFlatHashTableRecurse( TagDocEntryHT &builtHT, DocEntrySet* set ); - void HandleBrokenEndian(uint16_t group, uint16_t elem); + void HandleBrokenEndian(uint16_t &group, uint16_t &elem); void HandleOutOfGroup0002(uint16_t group); // Variables