]> Creatis software - gdcm.git/blobdiff - src/gdcmFile.cxx
* Update Windows projects and .cvsignore files
[gdcm.git] / src / gdcmFile.cxx
index 4b22d148d7ec4823f52bdf2e5f1ae1fbc130241a..69fba75867b02e30d7db4318657454647e97c8d6 100644 (file)
@@ -372,7 +372,7 @@ size_t gdcmFile::GetImageDataIntoVector (void* destination, size_t MaxSize) {
          
    unsigned char * newDest = (unsigned char *)malloc(lgrTotale);
    unsigned char * a       = (unsigned char *)destination;      
-   unsigned char * lutRGBA = (unsigned char *)GetLUTRGBA();
+   unsigned char * lutRGBA =                  GetLUTRGBA();
    if (lutRGBA) {          
       int l = lgrTotaleRaw;
       memmove(newDest, destination, l);// move Gray pixels to temp area