summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_aniavatars.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_modern/src/modern_aniavatars.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_aniavatars.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_aniavatars.cpp b/plugins/Clist_modern/src/modern_aniavatars.cpp
index 3a97deb84a..c6d731ae1f 100644
--- a/plugins/Clist_modern/src/modern_aniavatars.cpp
+++ b/plugins/Clist_modern/src/modern_aniavatars.cpp
@@ -810,7 +810,7 @@ int AniAva_AddAvatar(MCONTACT hContact, TCHAR * szFilename, int width, int heigt
else
pavi->dwAvatarUniqId = _AniAva_LoadAvatarFromImage(szFilename, width, heigth, &avii);
if (hwnd)
- SendMessage(hwnd, AAM_SETAVATAR, (WPARAM)&avii, (LPARAM)0);
+ SendMessage(hwnd, AAM_SETAVATAR, (WPARAM)&avii, 0);
pavi->ObjectSize = avii.szSize;
return MAKELONG(avii.szSize.cx, avii.szSize.cy);
}
@@ -925,7 +925,7 @@ int AniAva_SetAvatarPos(MCONTACT hContact, RECT *rc, int overlayIdx, BYTE bAlpha
ANIAVATARIMAGEINFO avii = { 0 };
if (_AniAva_GetAvatarImageInfo(pai->dwAvatarUniqId, &avii))
- SendMessage(pai->hWindow, AAM_SETAVATAR, (WPARAM)&avii, (LPARAM)0);
+ SendMessage(pai->hWindow, AAM_SETAVATAR, (WPARAM)&avii, 0);
}
api->bAlpha = bAlpha;
api->idxOverlay = overlayIdx;