Commit 16b80545 authored by Martijn Pieters's avatar Martijn Pieters

Use correct integer size for slice operations.

Most likely this is not the only 'i' -> 'n' fix required.
parent 519d2de8
...@@ -887,7 +887,7 @@ static PyObject * ...@@ -887,7 +887,7 @@ static PyObject *
Wrapper_slice(Wrapper *self, Py_ssize_t ilow, Py_ssize_t ihigh) Wrapper_slice(Wrapper *self, Py_ssize_t ilow, Py_ssize_t ihigh)
{ {
return CallMethodO(OBJECT(self),py__getslice__, return CallMethodO(OBJECT(self),py__getslice__,
Build("(ii)", ilow, ihigh),NULL); Build("(nn)", ilow, ihigh),NULL);
} }
static int static int
......
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