mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:47: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
|
@ -158,7 +158,7 @@ public:
|
|||
private:
|
||||
friend class Utf8CodePointIterator;
|
||||
|
||||
u8 const* begin_ptr() const { return (u8 const*)m_string.characters_without_null_termination(); }
|
||||
u8 const* begin_ptr() const { return reinterpret_cast<u8 const*>(m_string.characters_without_null_termination()); }
|
||||
u8 const* end_ptr() const { return begin_ptr() + m_string.length(); }
|
||||
size_t calculate_length() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue