summaryrefslogtreecommitdiff
path: root/i386/i386/db_trace.c
diff options
context:
space:
mode:
authorMarin Ramesa <mpr@hi.t-com.hr>2013-11-20 20:42:53 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-11-20 22:05:51 +0100
commitcd300e86d2931c0fed1d2b3e87be695a0988065f (patch)
treeb905e44e2c799244ca7a93ea0cf815eaeb174dbf /i386/i386/db_trace.c
parent02f44401d169581253e7ec59f63be8e5cdffd3c5 (diff)
i386/i386/db_trace.c: don't cast to db_addr_t
* i386/i386/db_trace.c (db_check_thread_address_valid): Don't cast argument 1 to db_addr_t.
Diffstat (limited to 'i386/i386/db_trace.c')
-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;