diff options
Diffstat (limited to 'plugins/YahooGroups/src/utils.cpp')
-rw-r--r-- | plugins/YahooGroups/src/utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/YahooGroups/src/utils.cpp b/plugins/YahooGroups/src/utils.cpp index 686cb59363..7c7fede24f 100644 --- a/plugins/YahooGroups/src/utils.cpp +++ b/plugins/YahooGroups/src/utils.cpp @@ -209,7 +209,7 @@ TCHAR *GetContactName(MCONTACT hContact, char *szProto) CONTACTINFO ctInfo;
char proto[200];
- ZeroMemory((void *) &ctInfo, sizeof(ctInfo));
+ memset(&ctInfo, 0, sizeof(ctInfo));
ctInfo.cbSize = sizeof(ctInfo);
if (szProto)
{
@@ -257,7 +257,7 @@ TCHAR *GetContactID(MCONTACT hContact, char *szProto) {
CONTACTINFO ctInfo;
- ZeroMemory((void *) &ctInfo, sizeof(ctInfo));
+ memset(&ctInfo, 0, sizeof(ctInfo));
ctInfo.cbSize = sizeof(ctInfo);
ctInfo.szProto = szProto;
ctInfo.dwFlag = CNF_DISPLAY | CNF_TCHAR;
|