From 957dcd905e535fcfe37185ca5ea08a801e3078d3 Mon Sep 17 00:00:00 2001 From: jpr Date: Thu, 23 Jun 2005 09:20:23 +0000 Subject: [PATCH] Extend warning message, for debugging purpose --- src/gdcmDocument.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/gdcmDocument.cxx b/src/gdcmDocument.cxx index af427024..70e868c1 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/06/22 08:01:41 $ - Version: $Revision: 1.249 $ + Date: $Date: 2005/06/23 09:20:23 $ + Version: $Revision: 1.250 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -1981,7 +1981,8 @@ bool Document::CheckSwap() */ void Document::SwitchByteSwapCode() { - gdcmWarningMacro( "Switching Byte Swap code from "<< SwapCode); + gdcmWarningMacro( "Switching Byte Swap code from "<< SwapCode + << " at :" <tellg() ); if ( SwapCode == 1234 ) { SwapCode = 4321; -- 2.48.1