X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb-python/blobdiff_plain/a75e68c977a90a6aebfa8e9509c46b739ea1e791..6b54260d1f5312a3ec58be3ee1eb168ddf9cf2e2:/bytestring.c diff --git a/bytestring.c b/bytestring.c index b3b32de..b78ec14 100644 --- a/bytestring.c +++ b/bytestring.c @@ -54,7 +54,7 @@ static PyObject *bytestring_pynew(PyTypeObject *ty, PyObject *arg, PyObject *kw) { const char *p; - int n; + Py_ssize_t n; static char *kwlist[] = { "data", 0 }; if (!PyArg_ParseTupleAndKeywords(arg, kw, "s#:new", kwlist, &p, &n)) return (0);