fix fullpath with wildcard in file part
[scilab.git] / scilab / modules / fileio / src / c / getFullFilename.c
index 2d8d4f3..7719b62 100644 (file)
@@ -77,7 +77,7 @@ wchar_t *getFullFilenameW(const wchar_t* FilenameInput)
             }
         }
 
-        wcTmp = get_full_pathW((const wchar_t*)wcPath);
+        wcTmp = get_full_pathW(wcPath);
         wcscpy(wcPath, wcTmp);
         FREE(wcTmp);
         wcTmp = NULL;