diff options
Diffstat (limited to 'src/zap/zapheaders.cpp')
-rw-r--r-- | src/zap/zapheaders.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zap/zapheaders.cpp b/src/zap/zapheaders.cpp index acec36bf2a..8960798981 100644 --- a/src/zap/zapheaders.cpp +++ b/src/zap/zapheaders.cpp @@ -325,7 +325,7 @@ ZapPEExports::ZapPEExports(LPCWSTR dllPath) DWORD ZapPEExports::GetSize() { - return DWORD(sizeof(IMAGE_EXPORT_DIRECTORY) + wcslen(m_dllFileName) + 1); + return DWORD(sizeof(IMAGE_EXPORT_DIRECTORY) + wcslen(m_dllFileName) * sizeof(BYTE) + 1); } void ZapPEExports::Save(ZapWriter * pZapWriter) |