diff options
Diffstat (limited to 'src/mir_app/src/chat_svc.cpp')
-rw-r--r-- | src/mir_app/src/chat_svc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/chat_svc.cpp b/src/mir_app/src/chat_svc.cpp index 6eceedb9ed..a494e905de 100644 --- a/src/mir_app/src/chat_svc.cpp +++ b/src/mir_app/src/chat_svc.cpp @@ -274,7 +274,7 @@ static void SetInitDone(SESSION_INFO *si) si->bInitDone = true; for (STATUSINFO *p = si->pStatuses; p; p = p->next) if ((UINT_PTR)p->hIcon < STATUSICONCOUNT) - p->hIcon = HICON(si->iStatusCount - (int)p->hIcon - 1); + p->hIcon = HICON(si->iStatusCount - (INT_PTR)p->hIcon - 1); } static int DoControl(GCEVENT *gce, WPARAM wp) |