From: malaterre Date: Thu, 27 Oct 2005 17:46:24 +0000 (+0000) Subject: COMP: second time I am fixing the very same bug, please respect other people work X-Git-Tag: OpenJPEG.Version1.2~110 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=1d5dc03ccdd0254fe9fe9698c9bab5e7cc3ba80a;p=gdcm.git COMP: second time I am fixing the very same bug, please respect other people work --- 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 );