From 8700f448fbb42a73191120ad4432a8ef77aa04a0 Mon Sep 17 00:00:00 2001 From: malaterre Date: Wed, 5 Nov 2003 17:57:20 +0000 Subject: [PATCH] *FIX: DOH again the same bug of unsigned vs. signed ! --- src/gdcmHeader.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gdcmHeader.cxx b/src/gdcmHeader.cxx index d3416cec..6efaf6d1 100644 --- a/src/gdcmHeader.cxx +++ b/src/gdcmHeader.cxx @@ -1,4 +1,4 @@ -// $Header: /cvs/public/gdcm/src/Attic/gdcmHeader.cxx,v 1.108 2003/11/05 17:14:59 malaterre Exp $ +// $Header: /cvs/public/gdcm/src/Attic/gdcmHeader.cxx,v 1.109 2003/11/05 17:57:20 malaterre Exp $ #include "gdcmHeader.h" @@ -2259,7 +2259,7 @@ void * gdcmHeader::GetLUTRGBA(void) { } // forge the 4 * 8 Bits Red/Green/Blue/Alpha LUT - char *LUTRGBA = (char *)calloc(1024,1); // 256 * 4 (R, G, B, Alpha) + unsigned char *LUTRGBA = (char *)calloc(1024,1); // 256 * 4 (R, G, B, Alpha) if (!LUTRGBA) { return NULL; } @@ -2287,7 +2287,7 @@ void * gdcmHeader::GetLUTRGBA(void) { // and fix the code // We give up the checking to avoid some overhead - char *a; + unsigned char *a; int i; a= LUTRGBA+0; for(i=0;i