Fix addresser

This commit is contained in:
kynex7510 2024-06-02 10:43:41 +02:00
parent 620e6b5eb9
commit ad54bf6425
No known key found for this signature in database
GPG key ID: 8BBB0FD2C57920AD

View file

@ -64,7 +64,7 @@ namespace geode::addresser {
}
template <typename T>
static ptrdiff_t thunkOf(T ptr) {
static uint32_t thunkOf(T ptr) {
// msvc
if (sizeof(T) == sizeof(ptrdiff_t)) return 0;