From 0d905d7998a031c2d7a1cdc5d0d1148b55b610a2 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sat, 2 Aug 2025 14:43:19 +0100 Subject: Make additional use of untyped command callbacks --- src/dbg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dbg.c') diff --git a/src/dbg.c b/src/dbg.c index af995ce..aa21edf 100644 --- a/src/dbg.c +++ b/src/dbg.c @@ -93,9 +93,9 @@ DEF_CCMD_HERE(sst_dbg_getcmdcb, "Get the address of a command callback", 0) { } #ifdef _WIN32 con_msg("addr: %p\nghidra: %p\n", (void *)thecmd->cb_insns, - (void *)dbg_toghidra((void *)thecmd->cb_insns)); // ugh + (void *)dbg_toghidra(thecmd->cb_insns)); // ugh #else - con_msg("addr: %p\n", (void *)thecmd->cb); + con_msg("addr: %p\n", (void *)thecmd->cb_insns); #endif } -- cgit v1.2.3-54-g00ecf