summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface/SBValueList.i
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/scripts/Python/interface/SBValueList.i')
-rw-r--r--lldb/scripts/Python/interface/SBValueList.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/scripts/Python/interface/SBValueList.i b/lldb/scripts/Python/interface/SBValueList.i
index 1bc904980ef..a55345030c0 100644
--- a/lldb/scripts/Python/interface/SBValueList.i
+++ b/lldb/scripts/Python/interface/SBValueList.i
@@ -98,8 +98,8 @@ public:
FindValueObjectByUID (lldb::user_id_t uid);
%pythoncode %{
def __len__(self):
- return self.GetSize()
-
+ return int(self.GetSize())
+
def __getitem__(self, key):
count = len(self)
#------------------------------------------------------------
OpenPOWER on IntegriCloud