mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fix other warnings under 64-bit Windows.
This commit is contained in:
parent
47019e500c
commit
22e4155706
3 changed files with 7 additions and 6 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue