summaryrefslogtreecommitdiff
path: root/plugins/AVS/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AVS/src/main.cpp')
-rw-r--r--plugins/AVS/src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/AVS/src/main.cpp b/plugins/AVS/src/main.cpp
index 0a4997a54e..a0de907cfd 100644
--- a/plugins/AVS/src/main.cpp
+++ b/plugins/AVS/src/main.cpp
@@ -134,7 +134,7 @@ static int MetaChanged(WPARAM wParam, LPARAM lParam)
AVATARCACHEENTRY *ace;
- MCONTACT hContact = (MCONTACT)wParam;
+ MCONTACT hContact = wParam;
MCONTACT hSubContact = GetContactThatHaveTheAvatar(hContact);
// Get the node
@@ -242,7 +242,7 @@ static int ContactSettingChanged(WPARAM wParam, LPARAM lParam)
static int ContactDeleted(WPARAM wParam, LPARAM lParam)
{
- DeleteAvatarFromCache((MCONTACT)wParam, TRUE);
+ DeleteAvatarFromCache(wParam, TRUE);
return 0;
}