summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-10-21 14:12:36 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-10-21 14:12:36 +0000
commitd8eb1ed0d9f8a694629af5251840e9c6347c9eb3 (patch)
tree80e365f7c2840b1ad36af4dc39f984206e293fa2 /plugins/TabSRMM/src/utils.cpp
parent5f135d78fc5f302ccefa1e8ee38d9bc83737fee2 (diff)
fix for status line icons processing in tabSRMM
git-svn-id: http://svn.miranda-ng.org/main/trunk@2022 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/utils.cpp')
-rw-r--r--plugins/TabSRMM/src/utils.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/utils.cpp b/plugins/TabSRMM/src/utils.cpp
index c21245f6fb..34f1914e6d 100644
--- a/plugins/TabSRMM/src/utils.cpp
+++ b/plugins/TabSRMM/src/utils.cpp
@@ -728,7 +728,7 @@ int Utils::ReadContainerSettingsFromDB(const HANDLE hContact, TContainerSettings
if (0 == DBGetContactSetting(hContact, SRMSGMOD_T, szKey ? szKey : CNT_KEYNAME, &dbv)) {
if (dbv.type == DBVT_BLOB && dbv.cpbVal > 0 && dbv.cpbVal <= sizeof(TContainerSettings)) {
- ::CopyMemory((void *)cs, (void *)dbv.pbVal, dbv.cpbVal);
+ ::CopyMemory((void*)cs, (void*)dbv.pbVal, dbv.cpbVal);
::DBFreeVariant(&dbv);
if (hContact == 0 && szKey == 0)
cs->fPrivate = false;
@@ -782,7 +782,7 @@ void Utils::ReadPrivateContainerSettings(TContainerData *pContainer, bool fForce
if (csTemp.fPrivate || fForce) {
if (pContainer->settings == 0 || pContainer->settings == &PluginConfig.globalContainerSettings)
pContainer->settings = (TContainerSettings *)malloc(sizeof(TContainerSettings));
- CopyMemory((void *)pContainer->settings, (void *)&csTemp, sizeof(TContainerSettings));
+ CopyMemory((void*)pContainer->settings, (void*)&csTemp, sizeof(TContainerSettings));
pContainer->settings->fPrivate = true;
}
else
@@ -1048,7 +1048,7 @@ void TSAPI Utils::extractResource(const HMODULE h, const UINT uID, const TCHAR *
return;
}
if ((hFile = CreateFile(szFilename, GENERIC_WRITE, 0, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, 0)) != INVALID_HANDLE_VALUE) {
- WriteFile(hFile, (void *)pData, dwSize, &written, NULL);
+ WriteFile(hFile, (void*)pData, dwSize, &written, NULL);
CloseHandle(hFile);
}
else