diff options
Diffstat (limited to 'plugins/YARelay/src/main.cpp')
-rw-r--r-- | plugins/YARelay/src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/YARelay/src/main.cpp b/plugins/YARelay/src/main.cpp index e41a97859c..eac2d93b3f 100644 --- a/plugins/YARelay/src/main.cpp +++ b/plugins/YARelay/src/main.cpp @@ -156,7 +156,7 @@ static int MessageEventAdded(WPARAM wParam, LPARAM lParam) // get sender's uin
CONTACTINFO ci = { sizeof(ci) };
ci.dwFlag = CNF_UNIQUEID;
- if (CallService(MS_CONTACT_GETCONTACTINFO, 0, (long)&ci) == 0){
+ if (CallService(MS_CONTACT_GETCONTACTINFO, 0, (LPARAM)&ci) == 0){
if (ci.type == CNFT_ASCIIZ)
_tcsncpy_s(buf, ci.pszVal, _TRUNCATE);
else if (ci.type == CNFT_BYTE)
|