From 133ed6bac127a73075620c2c5962abd231ac9b1b Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Mon, 11 Jan 2010 09:01:56 +0100 Subject: [PATCH] winedump: Pass the correct size to the helper (Coccinelle). --- tools/winedump/pe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/winedump/pe.c b/tools/winedump/pe.c index 273266268c0..728253e78a9 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",