diff options
Diffstat (limited to 'plugins/TabSRMM/src/chat/tools.cpp')
-rw-r--r-- | plugins/TabSRMM/src/chat/tools.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/chat/tools.cpp b/plugins/TabSRMM/src/chat/tools.cpp index 235c38c5e0..d33f093eba 100644 --- a/plugins/TabSRMM/src/chat/tools.cpp +++ b/plugins/TabSRMM/src/chat/tools.cpp @@ -665,10 +665,10 @@ char GetIndicator(SESSION_INFO *si, LPCTSTR ptszNick, int *iNickIndex) for (USERINFO *ui = si->pUsers; ui; ui = ui->next) {
if (!mir_tstrcmp(ui->pszNick, ptszNick)) {
STATUSINFO *ti = pci->TM_FindStatus(si->pStatuses, pci->TM_WordToString(si->pStatuses, ui->Status));
- if (ti && (int)ti->hIcon < si->iStatusCount) {
+ if (ti && (INT_PTR)ti->hIcon < si->iStatusCount) {
if (iNickIndex)
- *iNickIndex = (int)ti->hIcon; // color table's index is not zero-based
- return szIndicators[(int)ti->hIcon];
+ *iNickIndex = (INT_PTR)ti->hIcon; // color table's index is not zero-based
+ return szIndicators[(INT_PTR)ti->hIcon];
}
break;
}
|