Fix other warnings under 64-bit Windows.

This commit is contained in:
Antoine Pitrou 2010-08-15 18:07:50 +00:00
parent 47019e500c
commit 22e4155706
3 changed files with 7 additions and 6 deletions

View file

@ -878,7 +878,7 @@ mmap_ass_subscript(mmap_object *self, PyObject *item, PyObject *value)
"in range(0, 256)");
return -1;
}
self->data[i] = v;
self->data[i] = (char) v;
return 0;
}
else if (PySlice_Check(item)) {