summaryrefslogtreecommitdiff
path: root/lldb/source/DataFormatters/FormatterBytecode.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2024-12-10 17:01:38 -0800
committerAdrian Prantl <aprantl@apple.com>2024-12-10 17:01:51 -0800
commit1593f36935edc97bede71bd1d722edf83eaf16a4 (patch)
tree10ce6b3bc852098988565e1657a6152175b6df4b /lldb/source/DataFormatters/FormatterBytecode.cpp
parentbdd82d51563717f2d8e6662ab075856b52330971 (diff)
[lldb] Add explicit type conversion
Diffstat (limited to 'lldb/source/DataFormatters/FormatterBytecode.cpp')
-rw-r--r--lldb/source/DataFormatters/FormatterBytecode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/DataFormatters/FormatterBytecode.cpp b/lldb/source/DataFormatters/FormatterBytecode.cpp
index 21e90e75202f..a8975494b836 100644
--- a/lldb/source/DataFormatters/FormatterBytecode.cpp
+++ b/lldb/source/DataFormatters/FormatterBytecode.cpp
@@ -339,7 +339,7 @@ llvm::Error Interpret(std::vector<ControlStackElement> &control,
}
case op_is_null: {
TYPE_CHECK(Object);
- data.Push(data.Pop<ValueObjectSP>() ? 0ULL : 1ULL);
+ data.Push(data.Pop<ValueObjectSP>() ? (uint64_t)0 : (uint64_t)1);
continue;
}