================
@@ -3138,13 +3141,13 @@ lldb::ValueObjectSP
ValueObject::CastToBasicType(CompilerType type) {
val_byte_size = temp.value();
if (is_pointer) {
- if (type.IsBoolean() && type_byte_size < val_byte_size) {
+ if (!type.IsBoolean() && type_byte_size < val_byte_size) {
----------------
cmtice wrote:
Done.
https://github.com/llvm/llvm-project/pull/87197
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits