Commit d66ca482 authored by Robert Bradshaw's avatar Robert Bradshaw

Fix a couple of warnings.

parent 3c9326ce
...@@ -1497,14 +1497,14 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args, ...@@ -1497,14 +1497,14 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
#endif #endif
PyObject *kwtuple, **k; PyObject *kwtuple, **k;
PyObject **d; PyObject **d;
int nd; Py_ssize_t nd;
Py_ssize_t nk; Py_ssize_t nk;
PyObject *result; PyObject *result;
assert(kwargs == NULL || PyDict_Check(kwargs)); assert(kwargs == NULL || PyDict_Check(kwargs));
nk = kwargs ? PyDict_Size(kwargs) : 0; nk = kwargs ? PyDict_Size(kwargs) : 0;
if (Py_EnterRecursiveCall(" while calling a Python object")) { if (Py_EnterRecursiveCall((char*)" while calling a Python object")) {
return NULL; return NULL;
} }
...@@ -1580,12 +1580,12 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args, ...@@ -1580,12 +1580,12 @@ static PyObject *__Pyx_PyFunction_FastCallDict(PyObject *func, PyObject **args,
result = PyEval_EvalCodeEx((PyObject*)co, globals, (PyObject *)NULL, result = PyEval_EvalCodeEx((PyObject*)co, globals, (PyObject *)NULL,
args, nargs, args, nargs,
k, (int)nk, k, (int)nk,
d, nd, kwdefs, closure); d, (int)nd, kwdefs, closure);
#else #else
result = PyEval_EvalCodeEx(co, globals, (PyObject *)NULL, result = PyEval_EvalCodeEx(co, globals, (PyObject *)NULL,
args, nargs, args, nargs,
k, (int)nk, k, (int)nk,
d, nd, closure); d, (int)nd, closure);
#endif #endif
Py_XDECREF(kwtuple); Py_XDECREF(kwtuple);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment