]> Creatis software - creaVtk.git/commitdiff
Bug Windows raw file name in ReadMHDPlane
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Tue, 16 Jun 2020 21:00:01 +0000 (23:00 +0200)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Tue, 16 Jun 2020 21:00:01 +0000 (23:00 +0200)
bbtk_creaVtk_PKG/src/bbcreaVtkReadMHDPlane.cxx

index 3581966d4a7db99c5ac697035c1289a3e408dd59..59f3b902d368dd5b73d009b4449320c4f7bf57f6 100644 (file)
@@ -214,8 +214,8 @@ void ReadMHDPlane::Read64lseek(std::string fileNameIn, std::string plane)
        long int        headersize=0;
        vtkImageData *newImage=NULL;
        char mystring[250];
-       char strTmp[30];
-       char strTmp2[30];
+       char strTmp[250];
+       char strTmp2[250];
        FILE *ffIn      = fopen( fileNameIn.c_str() , "r");
        long long dataSize;
        if (ffIn!=NULL)