summaryrefslogtreecommitdiff
path: root/include/m_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/m_utils.h')
-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