winpr: change GetKnownSubPath to use a const path
This commit is contained in:
parent
8168477886
commit
291569d1e5
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user