summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-06-25 17:59:26 +0000
committermidipix <writeonce@midipix.org>2020-06-25 17:59:26 +0000
commit67c9916081393f1c2d291dfd463d82ce94af368c (patch)
tree09d75d46c0a1551126d1363f5ee79bcb3fb38d67
parentf857247ff88ce2c55c8f73343b7e00330cc94cf0 (diff)
downloadntapi-67c9916081393f1c2d291dfd463d82ce94af368c.tar.bz2
ntapi-67c9916081393f1c2d291dfd463d82ce94af368c.tar.xz
__ntapi_tt_debug_break_process(): use correct (32-bit) entry-point signature.
-rw-r--r--src/debug/ntapi_tt_debug_break_process.c2
1 files changed, 1 insertions, 1 deletions
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(