Skip to content

Commit 5a6efa8

Browse files
committed
[𝘀𝗽𝗿] initial version
Created using spr 1.3.4
1 parent 2f18b5e commit 5a6efa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libcxxabi/src/private_typeinfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ __base_class_type_info::has_unambiguous_public_base(__dynamic_cast_info* info,
593593
}
594594
__base_type->has_unambiguous_public_base(
595595
info,
596-
static_cast<char*>(adjustedPtr) + offset_to_base,
596+
reinterpret_cast<void*>(reinterpret_cast<uintptr_t>(adjustedPtr) + offset_to_base),
597597
(__offset_flags & __public_mask) ? path_below : not_public_path);
598598
}
599599

0 commit comments

Comments
 (0)