From 080d009b15058360a881a02e2aea005e90d14c3c Mon Sep 17 00:00:00 2001 From: malaterre Date: Fri, 14 Jan 2005 17:40:04 +0000 Subject: [PATCH] BUG: Try to fix Mathieu patch --- src/gdcmBinEntry.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gdcmBinEntry.cxx b/src/gdcmBinEntry.cxx index 4c6426e7..1d6a7c56 100644 --- a/src/gdcmBinEntry.cxx +++ b/src/gdcmBinEntry.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmBinEntry.cxx,v $ Language: C++ - Date: $Date: 2005/01/14 17:38:32 $ - Version: $Revision: 1.51 $ + Date: $Date: 2005/01/14 17:40:04 $ + Version: $Revision: 1.52 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -141,7 +141,7 @@ void BinEntry::WriteContent(std::ofstream *fp, FileType filetype) // how many BUFFER_SIZE long pieces in binArea ? int nbPieces = lgr/BUFFER_SIZE/2; //(16 bits = 2 Bytes) - uint16_t binArea16 = (uint16_t*)binArea; + uint16_t *binArea16 = (uint16_t*)binArea; for (int j=0;j