bug 14909: getshortpathname and getlongpathname return values with '\' instead of '/'
[scilab.git] / scilab / modules / fileio / src / c / getshortpathname.c
index 284fc88..481e092 100644 (file)
@@ -116,7 +116,7 @@ char *getshortpathname(const char *longpathname, BOOL *convertok)
     return ShortName;
 }
 /*--------------------------------------------------------------------------*/
-wchar_t* getshortpathnameW(wchar_t* _pwstLongPathName, BOOL* _pbOK)
+wchar_t* getshortpathnameW(const wchar_t* _pwstLongPathName, BOOL* _pbOK)
 {
     wchar_t* pwstOutput = NULL;
     if (_pwstLongPathName)