quench conversion warnings on windows

This commit is contained in:
Wenzel Jakob 2016-05-15 23:55:06 +02:00
parent deeab558ba
commit affb9f40c5

View File

@ -214,7 +214,7 @@ protected:
rec->is_constructor = !strcmp(rec->name, "__init__") || !strcmp(rec->name, "__setstate__");
rec->has_args = false;
rec->has_kwargs = false;
rec->nargs = args;
rec->nargs = (uint16_t) args;
#if PY_MAJOR_VERSION < 3
if (rec->sibling && PyMethod_Check(rec->sibling.ptr()))