]> Creatis software - gdcm.git/blobdiff - src/gdcmjpegls/Decoder/jpegmark.c
COMP: Fix some more problem with cstring vs char*
[gdcm.git] / src / gdcmjpegls / Decoder / jpegmark.c
index c6c092bc7a2a8917ba44ceb7c7563ea9688f21d9..650d858511a484a34db75dd195298963381e5f21 100644 (file)
@@ -64,7 +64,7 @@
 #endif
 
 void
-check_range(int param, char *name, int low, int high)
+check_range(int param, const char *name, int low, int high)
 {
     if ( param < low || param > high ) {
   fprintf(stderr,"Allowed range for %s is [%d..%d]: got %d\n",