From 0068e5861800986e33ee5eeac99863c4e01e3512 Mon Sep 17 00:00:00 2001 From: malaterre Date: Fri, 11 Feb 2005 19:06:55 +0000 Subject: [PATCH] BUG: lgr -> len --- src/gdcmUtil.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gdcmUtil.cxx b/src/gdcmUtil.cxx index 20861332..d1b23d8e 100644 --- a/src/gdcmUtil.cxx +++ b/src/gdcmUtil.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmUtil.cxx,v $ Language: C++ - Date: $Date: 2005/02/11 19:00:39 $ - Version: $Revision: 1.134 $ + Date: $Date: 2005/02/11 19:06:55 $ + Version: $Revision: 1.135 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -899,8 +899,8 @@ std::ostream &binary_write(std::ostream &os, const uint16_t *val, size_t len) uint16_t *buffer = new uint16_t[BUFFER_SIZE/2]; // how many BUFFER_SIZE long pieces in binArea ? - int nbPieces = lgr/BUFFER_SIZE; //(16 bits = 2 Bytes) - int remainingSize = lgr%BUFFER_SIZE; + int nbPieces = len/BUFFER_SIZE; //(16 bits = 2 Bytes) + int remainingSize = len%BUFFER_SIZE; for (int j=0;j