Paul Vriens : winedump: Pass the correct size to the helper (Coccinelle).
Alexandre Julliard
julliard at winehq.org
Mon Jan 11 15:59:36 CST 2010
Module: wine
Branch: master
Commit: 133ed6bac127a73075620c2c5962abd231ac9b1b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=133ed6bac127a73075620c2c5962abd231ac9b1b
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Mon Jan 11 09:01:56 2010 +0100
winedump: Pass the correct size to the helper (Coccinelle).
---
tools/winedump/pe.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/winedump/pe.c b/tools/winedump/pe.c
index 2732662..728253e 100644
--- a/tools/winedump/pe.c
+++ b/tools/winedump/pe.c
@@ -1095,7 +1095,7 @@ void dbg_dump(void)
unsigned i;
const IMAGE_DEBUG_DIRECTORY* debugDir;
- separateDebugHead = PRD(0, sizeof(separateDebugHead));
+ separateDebugHead = PRD(0, sizeof(*separateDebugHead));
if (!separateDebugHead) {printf("Can't grab the separate header, aborting\n"); return;}
printf ("Signature: %.2s (0x%4X)\n",
More information about the wine-cvs
mailing list