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.
This commit is contained in:
parent
1dca482dbd
commit
4d933fe392
|
@ -292,7 +292,7 @@ static PyObject *
|
|||
mmap_write_method(mmap_object *self,
|
||||
PyObject *args)
|
||||
{
|
||||
long length;
|
||||
int length;
|
||||
char *data;
|
||||
|
||||
CHECK_VALID(NULL);
|
||||
|
|
Loading…
Reference in New Issue