summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/db_trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386/db_trace.c b/i386/i386/db_trace.c
index bdd926f..8bad6b0 100644
--- a/i386/i386/db_trace.c
+++ b/i386/i386/db_trace.c
@@ -362,7 +362,7 @@ db_stack_trace_cmd(
} else if (trace_thread) {
if (have_addr) {
th = (thread_t) addr;
- if (!db_check_thread_address_valid((db_addr_t)th))
+ if (!db_check_thread_address_valid(th))
return;
} else {
th = db_default_thread;