From 23fd37528ca0b639c69a110e042c721c58c39ec7 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 28 May 2009 15:23:24 +0200 Subject: [PATCH] winedump: Fix a printf format warning on 64-bit. --- 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 bbe4d563d7f..5ff8a164559 100644 --- a/tools/winedump/pe.c +++ b/tools/winedump/pe.c @@ -669,7 +669,7 @@ static void dump_x86_64_unwind_info( const struct runtime_function *function ) } if (info->flags & (UNW_FLAG_EHANDLER | UNW_FLAG_UHANDLER)) printf( " handler %08x data at %08x\n", handler_data->handler, - function->UnwindData + (char *)(&handler_data->handler + 1) - (char *)info ); + (ULONG)(function->UnwindData + (char *)(&handler_data->handler + 1) - (char *)info )); } static void dump_dir_exceptions(void) -- 2.11.4.GIT