mirror of
https://github.com/zebrajr/ladybird.git
synced 2026-01-15 12:15:15 +00:00
It is not guaranteed that inherited classes have the same address as the base of the derived class. In that case a reinterpret cast leads to undefined behavior. This occured on msvc ABI. See: https://godbolt.org/z/jGeEW3c48 Co-authored-by: ayeteadoe <ayeteadoe@gmail.com>