summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/m_clist.h6
-rw-r--r--include/m_clistint.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/include/m_clist.h b/include/m_clist.h
index dbe1a972d3..116ddfa931 100644
--- a/include/m_clist.h
+++ b/include/m_clist.h
@@ -249,11 +249,11 @@ struct CLISTEVENT
HICON hIcon; // icon to flash
union {
MEVENT hDbEvent; // caller defined but should be unique for hContact
- char *lpszProtocol;
+ const char *lpszProtocol;
};
LPARAM lParam; // caller defined
- char *pszService; // name of the service to call on activation
- MAllStrings szTooltip; // short description of the event to display as a tooltip on the system tray
+ const char *pszService; // name of the service to call on activation
+ MAllCStrings szTooltip; // short description of the event to display as a tooltip on the system tray
};
#define CLEF_URGENT 1 // flashes the icon even if the user is occupied,
diff --git a/include/m_clistint.h b/include/m_clistint.h
index f741e10384..91be4838a6 100644
--- a/include/m_clistint.h
+++ b/include/m_clistint.h
@@ -164,8 +164,8 @@ struct CListEvent : public CLISTEVENT, public MZeroedObject
{
~CListEvent()
{
- mir_free(pszService);
- mir_free(szTooltip.a);
+ mir_free((char*)pszService);
+ mir_free((char*)szTooltip.a);
}
int imlIconIndex;