aboutsummaryrefslogtreecommitdiff
path: root/gdb/aix-thread.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2022-09-24 13:34:09 -0600
committerTom Tromey <tom@tromey.com>2022-10-16 10:50:47 -0600
commit98ed24fb35d89eb20179edf6c12f599c7a9e228e (patch)
tree222be496751ed4e4bdacc9beb242715e6ab8f696 /gdb/aix-thread.c
parent45685a2fd86073e76a772c5b677f14f8465a5040 (diff)
downloadgdb-98ed24fb35d89eb20179edf6c12f599c7a9e228e.zip
gdb-98ed24fb35d89eb20179edf6c12f599c7a9e228e.tar.gz
gdb-98ed24fb35d89eb20179edf6c12f599c7a9e228e.tar.bz2
Use checked_static_cast in more places
I looked through all the uses of static_cast<... *> in gdb and converted many of them to checked_static_cast. I couldn't test a few of these changes.
Diffstat (limited to 'gdb/aix-thread.c')
-rw-r--r--gdb/aix-thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/aix-thread.c b/gdb/aix-thread.c
index 57e5756..e556c15 100644
--- a/gdb/aix-thread.c
+++ b/gdb/aix-thread.c
@@ -90,7 +90,7 @@ struct aix_thread_info : public private_thread_info
static aix_thread_info *
get_aix_thread_info (thread_info *thread)
{
- return static_cast<aix_thread_info *> (thread->priv.get ());
+ return gdb::checked_static_cast<aix_thread_info *> (thread->priv.get ());
}
/* Information about a thread of which libpthdebug is aware. */