Skip to content

Commit 8d37630

Browse files
raffienficiaudstefanseefeld
authored andcommitted
Fix warning: returning the proper type for object sizes
1 parent 9d2903c commit 8d37630

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/boost/python/detail/caller.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ inline PyObject* get(mpl::int_<N>, PyObject* const& args_)
4848
return PyTuple_GET_ITEM(args_,N);
4949
}
5050

51-
inline unsigned arity(PyObject* const& args_)
51+
inline Py_ssize_t arity(PyObject* const& args_)
5252
{
5353
return PyTuple_GET_SIZE(args_);
5454
}

0 commit comments

Comments
 (0)