From 67c9916081393f1c2d291dfd463d82ce94af368c Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 25 Jun 2020 17:59:26 +0000 Subject: __ntapi_tt_debug_break_process(): use correct (32-bit) entry-point signature. --- src/debug/ntapi_tt_debug_break_process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug/ntapi_tt_debug_break_process.c b/src/debug/ntapi_tt_debug_break_process.c index 3ad0daf..96c0ba0 100644 --- a/src/debug/ntapi_tt_debug_break_process.c +++ b/src/debug/ntapi_tt_debug_break_process.c @@ -37,7 +37,7 @@ int32_t __stdcall __ntapi_tt_debug_break_process( struct __dbg_hoppla hoppla; uintptr_t sptop; uintptr_t spreg; - int32_t (*dbg_break_point)(void *); + int32_t (__stdcall *dbg_break_point)(void *); /* interrupt & return */ dbg_break_point = pe_get_procedure_address( -- cgit v1.2.3