Skip to content

Commit f6012a2

Browse files
committed
[lldb] Add cast to fix compile error on 32-bit platforms
1 parent faebedd commit f6012a2

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
@@ -551,7 +551,7 @@ llvm::Error Interpret(std::vector<ControlStackElement> &control,
551551
}
552552
case sel_strlen: {
553553
TYPE_CHECK(String);
554-
data.Push(data.Pop<std::string>().size());
554+
data.Push((uint64_t)data.Pop<std::string>().size());
555555
break;
556556
}
557557
case sel_fmt: {

0 commit comments

Comments
 (0)