diff options
Diffstat (limited to 'include/m_database.h')
-rw-r--r-- | include/m_database.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/m_database.h b/include/m_database.h index a3e7a09af9..28e0d78c17 100644 --- a/include/m_database.h +++ b/include/m_database.h @@ -517,8 +517,8 @@ __forceinline MCONTACT DbGetAuthEventContact(DBEVENTINFO *dbei) // Function returns a pointer to a string in the required format.
// This string should be freed by a call of mir_free
-EXTERN_C MIR_APP_DLL(char*) DbEvent_GetTextA(DBEVENTINFO *dbei, int codepage);
-EXTERN_C MIR_APP_DLL(wchar_t*) DbEvent_GetTextW(DBEVENTINFO *dbei, int codepage);
+EXTERN_C MIR_APP_DLL(char*) DbEvent_GetTextA(const DBEVENTINFO *dbei, int codepage);
+EXTERN_C MIR_APP_DLL(wchar_t*) DbEvent_GetTextW(const DBEVENTINFO *dbei, int codepage);
/////////////////////////////////////////////////////////////////////////////////////////
// Retrieves the event's icon
|