]> Creatis software - creaBruker.git/blobdiff - lib/src1/bruker2dicom.cxx
Avoid warnings
[creaBruker.git] / lib / src1 / bruker2dicom.cxx
index 9cc2301872833ef373a9da3bbff32c25e1550a51..36313ce810aea8185276d2fb2a92ab86e051534a 100644 (file)
@@ -974,8 +974,8 @@ void Bruker2Dicom::dealWithCarto(GDCM_NAME_SPACE::DirListType &fileNames, int NX
    //  deal with MatLab-generated Carto file.
    // -----------------------------------------------------
    
-   char *code[] = { "ADC", "adc", "TTP", "ttp", "PEAK", "peak", "" };  // add more carto file name identifiers if necessary; end with ""
-   char *separator[] =  { "_", ".", "-", "" }; //  add more, if necessary, to ckeck for 2dseq.ADC, 2dseq_ADC, 2dseq-ADC, etc; end with ""
+   const char *code[] = { "ADC", "adc", "TTP", "ttp", "PEAK", "peak", "" };  // add more carto file name identifiers if necessary; end with ""
+   const char *separator[] =  { "_", ".", "-", "" }; //  add more, if necessary, to ckeck for 2dseq.ADC, 2dseq_ADC, 2dseq-ADC, etc; end with ""
    int icode;
    int iseparator; 
    GDCM_NAME_SPACE::DirListType::iterator it;