]> Creatis software - gdcm.git/commitdiff
BUG: Fix bug for Philips NTSCAN, this was fixed everywhere except the main tree...
authormalaterre <malaterre>
Tue, 11 Jan 2005 22:46:22 +0000 (22:46 +0000)
committermalaterre <malaterre>
Tue, 11 Jan 2005 22:46:22 +0000 (22:46 +0000)
src/gdcmDocument.cxx
src/gdcmDocument.h

index 9557f569a883d2aa7af52b9a8662ca2b6e260be7..24777f51729a1ecef83fea09ed7850b9b00059a9 100644 (file)
@@ -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;
index 59fbb270abcb178775bd2ccd66696f295400530c..3b33d635d087ac5c18f07dbe883da8bb13ca5147 100644 (file)
@@ -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