mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:27:35 +00:00
AK: Replace C-style casts
This commit is contained in:
parent
7d6908d9a5
commit
067d0689c5
14 changed files with 49 additions and 49 deletions
|
@ -68,7 +68,7 @@ inline Userspace<T> static_ptr_cast(Userspace<U> const& ptr)
|
|||
#else
|
||||
auto casted_ptr = static_cast<T>(ptr.ptr());
|
||||
#endif
|
||||
return Userspace<T>((FlatPtr)casted_ptr);
|
||||
return Userspace<T>(reinterpret_cast<FlatPtr>(casted_ptr));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue