winpr: change GetKnownSubPath to use a const path

This commit is contained in:
Bernhard Miklautz 2014-04-16 16:53:41 +02:00
parent 8168477886
commit 291569d1e5
2 changed files with 2 additions and 2 deletions

View File

@ -280,7 +280,7 @@ extern "C" {
#endif
WINPR_API char* GetKnownPath(int id);
WINPR_API char* GetKnownSubPath(int id, char* path);
WINPR_API char* GetKnownSubPath(int id, const char* path);
WINPR_API char* GetCombinedPath(const char* basePath, const char* subPath);
//#ifndef _WIN32

View File

@ -258,7 +258,7 @@ char* GetKnownPath(int id)
return path;
}
char* GetKnownSubPath(int id, char* path)
char* GetKnownSubPath(int id, const char* path)
{
char* subPath;
char* knownPath;