forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user