summaryrefslogtreecommitdiff
path: root/protocols/AimOscar/src/server.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-12 14:12:44 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-12 14:12:44 +0000
commit371db973914f270432e914922b735e01279c5db8 (patch)
tree4f402371dec7eacf536f61f691af3965cee09261 /protocols/AimOscar/src/server.cpp
parent7d9f85b1487f0f25d6d616d5cd9af61962af7781 (diff)
another bunch of useless conversions died
git-svn-id: http://svn.miranda-ng.org/main/trunk@8109 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/AimOscar/src/server.cpp')
-rw-r--r--protocols/AimOscar/src/server.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/protocols/AimOscar/src/server.cpp b/protocols/AimOscar/src/server.cpp
index 4a966254a7..af9c749b44 100644
--- a/protocols/AimOscar/src/server.cpp
+++ b/protocols/AimOscar/src/server.cpp
@@ -999,7 +999,7 @@ void CAimProto::delete_ssi_list(SNAC &snac, int &offset)
}
}
if (i == 1)
- CallService(MS_DB_CONTACT_DELETE, (WPARAM)hContact, 0);
+ CallService(MS_DB_CONTACT_DELETE, hContact, 0);
break;
case 0x0001: //group record
@@ -1594,11 +1594,11 @@ void CAimProto::snac_typing_notification(SNAC &snac)//family 0x004
{
unsigned short type=snac.ushort(11+sn_length);
if (type==0x0000)//typing finished
- CallService(MS_PROTO_CONTACTISTYPING,(WPARAM)hContact,(WPARAM)PROTOTYPE_CONTACTTYPING_OFF);
+ CallService(MS_PROTO_CONTACTISTYPING,hContact,(WPARAM)PROTOTYPE_CONTACTTYPING_OFF);
else if (type==0x0001)//typed
- CallService(MS_PROTO_CONTACTISTYPING,(WPARAM)hContact,PROTOTYPE_CONTACTTYPING_INFINITE);
+ CallService(MS_PROTO_CONTACTISTYPING,hContact,PROTOTYPE_CONTACTTYPING_INFINITE);
else if (type==0x0002)//typing
- CallService(MS_PROTO_CONTACTISTYPING,(WPARAM)hContact,(LPARAM)60);
+ CallService(MS_PROTO_CONTACTISTYPING,hContact,(LPARAM)60);
}
mir_free(sn);
}
@@ -2313,11 +2313,11 @@ void CAimProto::snac_admin_account_confirm(SNAC &snac)//family 0x0007
unsigned short* type=(unsigned short*)&buf[SNAC_SIZE*2+1+sn_length];
*type=htons(*type);
if (*type==0x0000)//typing finished
- CallService(MS_PROTO_CONTACTISTYPING,(WPARAM)hContact,(WPARAM)PROTOTYPE_CONTACTTYPING_OFF);
+ CallService(MS_PROTO_CONTACTISTYPING,hContact,(WPARAM)PROTOTYPE_CONTACTTYPING_OFF);
else if (*type==0x0001)//typed
- CallService(MS_PROTO_CONTACTISTYPING,(WPARAM)hContact,PROTOTYPE_CONTACTTYPING_INFINITE);
+ CallService(MS_PROTO_CONTACTISTYPING,hContact,PROTOTYPE_CONTACTTYPING_INFINITE);
else if (*type==0x0002)//typing
- CallService(MS_PROTO_CONTACTISTYPING,(WPARAM)hContact,(LPARAM)60);
+ CallService(MS_PROTO_CONTACTISTYPING,hContact,(LPARAM)60);
}
}
}*/