diff options
Diffstat (limited to 'plugins/SMS/src/main.cpp')
-rw-r--r-- | plugins/SMS/src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SMS/src/main.cpp b/plugins/SMS/src/main.cpp index 592641acaa..0d7eeb597d 100644 --- a/plugins/SMS/src/main.cpp +++ b/plugins/SMS/src/main.cpp @@ -60,7 +60,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpvReserved) {
switch(dwReason) {
case DLL_PROCESS_ATTACH:
- ZeroMemory(&ssSMSSettings, sizeof(ssSMSSettings));
+ memset(&ssSMSSettings, 0, sizeof(ssSMSSettings));
ssSMSSettings.hInstance = hInstance;
ssSMSSettings.hHeap = HeapCreate(0, 0, 0);
DisableThreadLibraryCalls((HMODULE)hInstance);
|