]> Creatis software - gdcm.git/blobdiff - src/gdcmjpegls/Decoder/decoder.c
Add some comments on the 'Patient Position'
[gdcm.git] / src / gdcmjpegls / Decoder / decoder.c
index 3fefa0a7078e37a38a531b5f59ed0f8a44da5e05..463fa8d43df4a73f52d2dd5a7c08fc50d40625ee 100644 (file)
@@ -118,8 +118,8 @@ int     alpha,     /* alphabet size */
 int     highmask;
 #endif
 
-void usage();
 
+void usage();
 
 
 
@@ -316,7 +316,7 @@ int initialize(int argc, char *argv[])
   int pos;   /* position in the file, after the header */
 
   for (i=0;i<MAX_COMPONENTS;i++) {
-    c_outfilename[i]=malloc(strlen(OUTFILE)+20);
+    c_outfilename[i]=(char*)malloc(strlen(OUTFILE)+20);
     sprintf(c_outfilename[i],"%s%d.out",OUTFILE,i+1);
   }