summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/python-wrapper.swig
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/scripts/Python/python-wrapper.swig')
-rw-r--r--lldb/scripts/Python/python-wrapper.swig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/scripts/Python/python-wrapper.swig b/lldb/scripts/Python/python-wrapper.swig
index 250af21eae0..9d28bc9d1d3 100644
--- a/lldb/scripts/Python/python-wrapper.swig
+++ b/lldb/scripts/Python/python-wrapper.swig
@@ -566,7 +566,7 @@ LLDBSwigPython_CalculateNumChildren
}
if (argc.count == 1)
- ret_val = std::min(ret_val, max);
+ ret_val = std::min(ret_val, static_cast<size_t>(max));
return ret_val;
}
OpenPOWER on IntegriCloud