From ce3372df36e7e076a5bf1dd8b54a18a9f92aeb82 Mon Sep 17 00:00:00 2001 From: jpr Date: Wed, 20 Apr 2005 11:25:35 +0000 Subject: [PATCH] Should avoid some warning from Borland Compiler --- Example/WriteDicomSimple.cxx | 8 ++++---- Example/exGC.cxx | 16 ++++++++-------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Example/WriteDicomSimple.cxx b/Example/WriteDicomSimple.cxx index 03ae9b3c..874194a0 100644 --- a/Example/WriteDicomSimple.cxx +++ b/Example/WriteDicomSimple.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: WriteDicomSimple.cxx,v $ Language: C++ - Date: $Date: 2005/02/02 10:06:32 $ - Version: $Revision: 1.11 $ + Date: $Date: 2005/04/20 11:25:35 $ + Version: $Revision: 1.12 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -76,7 +76,7 @@ int main(int argc, char *argv[]) header->InsertValEntry(str.str(),0x0028,0x0101); // Bits Stored str.str(""); - str << COMPONENT_SIZE * 8 - 1; + str << ( COMPONENT_SIZE * 8 ) - 1; header->InsertValEntry(str.str(),0x0028,0x0102); // High Bit // Set the pixel representation @@ -117,7 +117,7 @@ int main(int argc, char *argv[]) { for(int c=0;c