summaryrefslogtreecommitdiff
path: root/plugins/Ping/src/pingthread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Ping/src/pingthread.cpp')
-rw-r--r--plugins/Ping/src/pingthread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Ping/src/pingthread.cpp b/plugins/Ping/src/pingthread.cpp
index b44d165833..1534edbfee 100644
--- a/plugins/Ping/src/pingthread.cpp
+++ b/plugins/Ping/src/pingthread.cpp
@@ -228,7 +228,7 @@ void __cdecl sttCheckStatusThreadProc(void *vp)
if (!get_list_changed()) {
upCount = count;
- total = index;
+ total = (int)index;
}
else total = 0;
}
@@ -952,7 +952,7 @@ void AttachToClist(bool attach)
void InitList()
{
- hwnd_clist = (HWND)CallService(MS_CLUI_GETHWND, 0, 0);
+ hwnd_clist = pcli->hwndContactList;
WNDCLASS wndclass;