summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-08-14 20:24:31 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-08-14 20:24:31 +0300
commit5004a5850ffc5157661b331abb4649237c31efdb (patch)
treebb8a2547f83d56eaf3d2cae612844558f8db1950 /include
parentb244d1adc6c9a1b6991262b0ee2ee387e75a695b (diff)
fix for CreatePathToFileW prototype (missing const specifier)
Diffstat (limited to 'include')
-rw-r--r--include/m_utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/m_utils.h b/include/m_utils.h
index f7bf4cb80d..6da1d844b7 100644
--- a/include/m_utils.h
+++ b/include/m_utils.h
@@ -291,8 +291,8 @@ EXTERN_C MIR_CORE_DLL(int) CreateDirectoryTreeW(const wchar_t *pwszDir);
// Creates all subdirectories required to create a file with the file name given
// Returns 0 on success or an error code otherwise
-EXTERN_C MIR_CORE_DLL(void) CreatePathToFile(char *wszFilePath);
-EXTERN_C MIR_CORE_DLL(void) CreatePathToFileW(wchar_t *wszFilePath);
+EXTERN_C MIR_CORE_DLL(int) CreatePathToFile(const char *wszFilePath);
+EXTERN_C MIR_CORE_DLL(int) CreatePathToFileW(const wchar_t *wszFilePath);
/////////////////////////////////////////////////////////////////////////////////////////
// Checks if a file name is absolute or not