summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/Xfire_avatar_loader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Xfire/src/Xfire_avatar_loader.cpp')
-rw-r--r--protocols/Xfire/src/Xfire_avatar_loader.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Xfire/src/Xfire_avatar_loader.cpp b/protocols/Xfire/src/Xfire_avatar_loader.cpp
index 44f69dce4b..c28e989b8a 100644
--- a/protocols/Xfire/src/Xfire_avatar_loader.cpp
+++ b/protocols/Xfire/src/Xfire_avatar_loader.cpp
@@ -17,8 +17,8 @@ Xfire_avatar_loader::~Xfire_avatar_loader() {
DeleteCriticalSection(&this->avatarMutex);
}
-void Xfire_avatar_loader::loadThread(LPVOID lparam) {
- Xfire_avatar_loader *loader = (Xfire_avatar_loader*)lparam;
+void Xfire_avatar_loader::loadThread(voud *arg) {
+ Xfire_avatar_loader *loader = (Xfire_avatar_loader*)arg;
//kein loader, dann abbruch
if (!loader)
@@ -75,7 +75,7 @@ BOOL Xfire_avatar_loader::loadAvatar(MCONTACT hcontact, char*username, unsigned
this->list.push_back(process);
if (!threadrunning && client != NULL) {
- mir_forkthread(Xfire_avatar_loader::loadThread, (LPVOID)this);
+ mir_forkthread(Xfire_avatar_loader::loadThread, this);
}
return TRUE;