summaryrefslogtreecommitdiffstats
path: root/Modules/mmapmodule.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-08-15 18:07:50 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-08-15 18:07:50 (GMT)
commit22e4155706069f871c842771113b38379a716449 (patch)
tree67876144c0870be8f644d0f49ca8b370a063489f /Modules/mmapmodule.c
parent47019e500cea31e9ad647bc2d57e47eafc2ef356 (diff)
downloadcpython-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.c2
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)) {