diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2013-01-06 14:29:04 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2013-01-06 14:36:39 +0400 |
commit | 96f927ad2c657e26972bf5fd10e61cc0cace7ee9 (patch) | |
tree | 4fb5ca4f6834c155fdaf0f1b452623535eccde4b /src/DSUtil/DSUtil.h | |
parent | d814d5e140aa7871c50b330ff862342538d4e927 (diff) |
Revert "Replace ZeroMemory() with SecureZeroMemory(). The MSDN article for ZeroMemory says: "To avoid any undesired effects of optimizing compilers, use the SecureZeroMemory function.""
This reverts commit 0533530d9f661b0ec19756382a8c99b679182b5f.
Conflicts:
src/thirdparty/ResizableLib/ResizableState.cpp
src/thirdparty/TreePropSheet/TreePropSheet.cpp
Diffstat (limited to 'src/DSUtil/DSUtil.h')
-rw-r--r-- | src/DSUtil/DSUtil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DSUtil/DSUtil.h b/src/DSUtil/DSUtil.h index 9c285ea76..8a990959b 100644 --- a/src/DSUtil/DSUtil.h +++ b/src/DSUtil/DSUtil.h @@ -267,7 +267,7 @@ public: template <typename T> __inline void INITDDSTRUCT(T& dd)
{
- SecureZeroMemory(&dd, sizeof(dd));
+ ZeroMemory(&dd, sizeof(dd));
dd.dwSize = sizeof(dd);
}
|