diff options
author | George Hazan <ghazan@miranda.im> | 2018-08-14 20:24:31 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-08-14 20:24:31 +0300 |
commit | 5004a5850ffc5157661b331abb4649237c31efdb (patch) | |
tree | bb8a2547f83d56eaf3d2cae612844558f8db1950 /plugins/PluginUpdater/src | |
parent | b244d1adc6c9a1b6991262b0ee2ee387e75a695b (diff) |
fix for CreatePathToFileW prototype (missing const specifier)
Diffstat (limited to 'plugins/PluginUpdater/src')
-rw-r--r-- | plugins/PluginUpdater/src/Utils.cpp | 2 | ||||
-rw-r--r-- | plugins/PluginUpdater/src/stdafx.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/PluginUpdater/src/Utils.cpp b/plugins/PluginUpdater/src/Utils.cpp index bf96b77579..e0c47e2680 100644 --- a/plugins/PluginUpdater/src/Utils.cpp +++ b/plugins/PluginUpdater/src/Utils.cpp @@ -583,7 +583,7 @@ int SafeCreateDirectory(const wchar_t *pFolder) return TransactPipe(4, pFolder, nullptr);
}
-int SafeCreateFilePath(wchar_t *pFolder)
+int SafeCreateFilePath(const wchar_t *pFolder)
{
if (hPipe == nullptr) {
CreatePathToFileW(pFolder);
diff --git a/plugins/PluginUpdater/src/stdafx.h b/plugins/PluginUpdater/src/stdafx.h index 8e59245d55..b05403facf 100644 --- a/plugins/PluginUpdater/src/stdafx.h +++ b/plugins/PluginUpdater/src/stdafx.h @@ -249,6 +249,6 @@ int SafeCreateDirectory(const wchar_t *ptszDirName); int SafeCopyFile(const wchar_t *ptszSrc, const wchar_t *ptszDst);
int SafeMoveFile(const wchar_t *ptszSrc, const wchar_t *ptszDst);
int SafeDeleteFile(const wchar_t *ptszSrc);
-int SafeCreateFilePath(wchar_t *pFolder);
+int SafeCreateFilePath(const wchar_t *pFolder);
char *StrToLower(char *str);
|