Commit ef4364f3 authored by Neal Norwitz's avatar Neal Norwitz

Fix unpack so it works on 64-bit platforms.

parent 9515c96c
......@@ -1486,7 +1486,7 @@ static PyObject *
s_unpack(PyObject *self, PyObject *inputstr)
{
char *start;
int len;
Py_ssize_t len;
PyObject *args=NULL, *result;
PyStructObject *soself = (PyStructObject *)self;
assert(PyStruct_Check(self));
......
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