From 87177905630953bf5b7ba6ed7938c2a483873e07 Mon Sep 17 00:00:00 2001 From: Thiemo Seufer Date: Wed, 2 Aug 2006 10:24:00 +0000 Subject: * linux-thread-db.c (thread_db_get_thread_local_address): Fix type mismatch. * tui/tui-stack.c (tui_show_frame_info): Likewise. --- gdb/linux-thread-db.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/linux-thread-db.c') diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c index d91a894..517dc44 100644 --- a/gdb/linux-thread-db.c +++ b/gdb/linux-thread-db.c @@ -1080,7 +1080,8 @@ thread_db_get_thread_local_address (ptid_t ptid, thread_db_map_id2thr (thread_info, 1); /* Finally, get the address of the variable. */ - err = td_thr_tls_get_addr_p (&thread_info->private->th, (void *) lm, + err = td_thr_tls_get_addr_p (&thread_info->private->th, + (void *)(size_t) lm, offset, &address); #ifdef THREAD_DB_HAS_TD_NOTALLOC -- cgit v1.1