Skip to content

Commit 1593f36

Browse files
committed
[lldb] Add explicit type conversion
1 parent bdd82d5 commit 1593f36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/DataFormatters/FormatterBytecode.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ llvm::Error Interpret(std::vector<ControlStackElement> &control,
339339
}
340340
case op_is_null: {
341341
TYPE_CHECK(Object);
342-
data.Push(data.Pop<ValueObjectSP>() ? 0ULL : 1ULL);
342+
data.Push(data.Pop<ValueObjectSP>() ? (uint64_t)0 : (uint64_t)1);
343343
continue;
344344
}
345345

0 commit comments

Comments
 (0)