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

Workaround bogus GCC warning.

[SVN r24306]
This commit is contained in:
Dave Abrahams
2004-08-05 16:57:10 +00:00
parent cac6d3e5ac
commit 2c383e7216

View File

@@ -84,7 +84,7 @@ struct with_custodian_and_ward_postcall : BasePolicy_
template <class ArgumentPackage>
static PyObject* postcall(ArgumentPackage const& args_, PyObject* result)
{
unsigned arity_ = detail::arity(args_);
std::size_t arity_ = detail::arity(args_);
if ( custodian > arity_ || ward > arity_ )
{
PyErr_SetString(