summaryrefslogtreecommitdiff
path: root/tools/checksum/checksum.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-08-05 21:44:11 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-08-05 21:44:11 +0000
commit33e1601b384a006d514698ba61c93afc23043c52 (patch)
tree68626dbd69cdc557400bb8e47e4d6309faea4b8a /tools/checksum/checksum.cpp
parenta153409965bb3583a1d5b050eef14ed8d7d0543a (diff)
incorrect merge
git-svn-id: http://svn.miranda-ng.org/main/trunk@1372 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'tools/checksum/checksum.cpp')
-rw-r--r--tools/checksum/checksum.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/checksum/checksum.cpp b/tools/checksum/checksum.cpp
index c8089e79c8..9778a2c66c 100644
--- a/tools/checksum/checksum.cpp
+++ b/tools/checksum/checksum.cpp
@@ -195,7 +195,7 @@ int PEChecksum( TCHAR *filename, mir_md5_byte_t digest[16] )
{
DWORD shift = dbgAddr - pISH->VirtualAddress;
pDBG = (PIMAGE_DEBUG_DIRECTORY)( ptr + shift + pISH->PointerToRawData );
- memset(pDBG, 0, pDBG->SizeOfData);
+ pDBG->TimeDateStamp = 0;
#ifdef DEBUG_SECTIONS
if ( debug )