summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/Xfire_avatar_loader.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-02-23 11:27:13 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-02-23 11:27:13 +0000
commit465f5035c1059262b8e0b938b971f0a26015ca36 (patch)
tree0afd134d261311c96f629547c2a1348e8e905a65 /protocols/Xfire/src/Xfire_avatar_loader.cpp
parent3350965c81488d6019936b3d6bf3b96decaf6709 (diff)
XFire: Minor fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@12243 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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;