From: jean-pierre roux Date: Tue, 9 Mar 2010 10:12:25 +0000 (+0000) Subject: Avoid warnings X-Git-Tag: CREATOOLS.2-0-3~20 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=09bda7d735bfd96c8efacffd71960e119ca7e0b7;p=creaBruker.git Avoid warnings --- diff --git a/lib/src1/bruker2dicom.cxx b/lib/src1/bruker2dicom.cxx index 9cc2301..36313ce 100644 --- a/lib/src1/bruker2dicom.cxx +++ b/lib/src1/bruker2dicom.cxx @@ -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;