diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-08-15 18:07:50 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-08-15 18:07:50 (GMT) |
commit | 22e4155706069f871c842771113b38379a716449 (patch) | |
tree | 67876144c0870be8f644d0f49ca8b370a063489f /Modules/mmapmodule.c | |
parent | 47019e500cea31e9ad647bc2d57e47eafc2ef356 (diff) | |
download | cpython-22e4155706069f871c842771113b38379a716449.zip cpython-22e4155706069f871c842771113b38379a716449.tar.gz cpython-22e4155706069f871c842771113b38379a716449.tar.bz2 |
Fix other warnings under 64-bit Windows.
Diffstat (limited to 'Modules/mmapmodule.c')
-rw-r--r-- | Modules/mmapmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/mmapmodule.c b/Modules/mmapmodule.c index 3973124..8c5c8ac 100644 --- a/Modules/mmapmodule.c +++ b/Modules/mmapmodule.c @@ -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)) { |