-// $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"
}
// 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;
}
// 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<lengthR;i++) {