2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-20 16:52:15 +00:00

GCC Warning Suppression

[SVN r53659]
This commit is contained in:
Dave Abrahams
2009-06-05 20:15:01 +00:00
parent 22b65a1485
commit 6ffeca641c
5 changed files with 11 additions and 12 deletions

View File

@@ -166,7 +166,7 @@ PyObject* function::call(PyObject* args, PyObject* keywords) const
else
{
// build a new arg tuple, will adjust its size later
assert(max_arity <= ssize_t_max);
assert(max_arity <= static_cast<std::size_t>(ssize_t_max));
inner_args = handle<>(
PyTuple_New(static_cast<ssize_t>(max_arity)));