From 1d5dc03ccdd0254fe9fe9698c9bab5e7cc3ba80a Mon Sep 17 00:00:00 2001 From: malaterre Date: Thu, 27 Oct 2005 17:46:24 +0000 Subject: [PATCH] COMP: second time I am fixing the very same bug, please respect other people work --- src/gdcmDocument.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gdcmDocument.cxx b/src/gdcmDocument.cxx index 489be6e6..5e796de0 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/10/27 16:52:44 $ - Version: $Revision: 1.316 $ + Date: $Date: 2005/10/27 17:46:24 $ + Version: $Revision: 1.317 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -531,6 +531,7 @@ double Document::SwapDouble(double a) case 1234 : break; case 4321 : + { char *beg = (char *)&a; char *end = beg + 7; char t; @@ -542,6 +543,7 @@ double Document::SwapDouble(double a) beg++, end--; } + } break; default : gdcmErrorMacro( "Unexpected swap code:" << SwapCode ); -- 2.48.1