From 5004a5850ffc5157661b331abb4649237c31efdb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 14 Aug 2018 20:24:31 +0300 Subject: fix for CreatePathToFileW prototype (missing const specifier) --- include/m_utils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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 -- cgit v1.2.3