Commit 4d933fe3 authored by Neal Norwitz's avatar Neal Norwitz

SF patch #682514, mmapmodule.c write fix for LP64 executables

Make length an int so we get the right value from
PyArg_ParseTuple(args, "s#", &str, &length)

Will backport.
parent 1dca482d
......@@ -292,7 +292,7 @@ static PyObject *
mmap_write_method(mmap_object *self,
PyObject *args)
{
long length;
int length;
char *data;
CHECK_VALID(NULL);
......
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