From e973483cc8ae26e600dc6707d3e901d849a080ce Mon Sep 17 00:00:00 2001 From: mrdudz Date: Fri, 11 Jul 2025 21:55:58 +0200 Subject: [PATCH] DbgIsBreak() must use __cdecl__ --- libsrc/dbg/dbg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/dbg/dbg.c b/libsrc/dbg/dbg.c index dd47eae0c..33583fbdc 100644 --- a/libsrc/dbg/dbg.c +++ b/libsrc/dbg/dbg.c @@ -332,7 +332,7 @@ BreakPoint DbgBreaks [MAX_USERBREAKS+2]; BreakPoint* DbgGetBreakSlot (void); /* Search for a free breakpoint slot. Return a pointer to the slot or 0 */ -BreakPoint* DbgIsBreak (unsigned Addr); +BreakPoint* __cdecl__ DbgIsBreak (unsigned Addr); /* Check if there is a user breakpoint at the given address, if so, return ** a pointer to the slot, else return 0. */