mirror of
https://github.com/pybind/pybind11.git
synced 2025-01-31 07:10:30 +00:00
quench conversion warnings on windows
This commit is contained in:
parent
deeab558ba
commit
affb9f40c5
@ -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()))
|
||||
|
Loading…
Reference in New Issue
Block a user