diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-27 16:41:49 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-27 16:41:49 +0300 |
commit | e1cbdcf39414f1c42f480b221c0d05a32e3f441b (patch) | |
tree | 37dfb0a202f44d2d052048f57db4ebb323d61497 /src | |
parent | 8150d61a086cdf72b5aadf585c05b7db5ce6b511 (diff) |
MyDetails: fix for Chinese chars in the protocol's frame
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_app/src/contacts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/contacts.cpp b/src/mir_app/src/contacts.cpp index 3a49e7a3e9..382ef24d8b 100644 --- a/src/mir_app/src/contacts.cpp +++ b/src/mir_app/src/contacts.cpp @@ -46,7 +46,7 @@ static int GetDatabaseString(MCONTACT hContact, const char *szProto, const char DBCONTACTGETSETTING cgs = { szProto, szSetting, dbv };
dbv->type = DBVT_WCHAR;
- int res = CallProtoService(szProto, PS_GETINFOSETTING, (WPARAM)hContact, (LPARAM)&cgs);
+ INT_PTR res = CallProtoService(szProto, PS_GETINFOSETTING, (WPARAM)hContact, (LPARAM)&cgs);
if (res != CALLSERVICE_NOTFOUND)
return res;
}
|