summaryrefslogtreecommitdiff
path: root/protocols/GTalkExt/src/notifications.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/GTalkExt/src/notifications.cpp')
-rw-r--r--protocols/GTalkExt/src/notifications.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/GTalkExt/src/notifications.cpp b/protocols/GTalkExt/src/notifications.cpp
index ebd601737d..0cdbc1e3b4 100644
--- a/protocols/GTalkExt/src/notifications.cpp
+++ b/protocols/GTalkExt/src/notifications.cpp
@@ -231,8 +231,8 @@ void ShowNotification(LPCSTR acc, POPUPDATAT *data, LPCTSTR jid, LPCTSTR url, LP
}
data->PluginWindowProc = PopupProc;
- int lurl = (mir_tstrlen(url) + 1) * sizeof(TCHAR);
- int ljid = (mir_tstrlen(jid) + 1) * sizeof(TCHAR);
+ size_t lurl = (mir_tstrlen(url) + 1) * sizeof(TCHAR);
+ size_t ljid = (mir_tstrlen(jid) + 1) * sizeof(TCHAR);
POPUP_DATA_HEADER *ppdh = (POPUP_DATA_HEADER*)malloc(sizeof(POPUP_DATA_HEADER) + lurl + ljid);
ppdh->MarkRead = FALSE;