summaryrefslogtreecommitdiff
path: root/Modules/mmapmodule.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-08-15 18:07:50 +0000
committerAntoine Pitrou <solipsis@pitrou.net>2010-08-15 18:07:50 +0000
commitf000d96a65b2a6965d4d6796dfe91353a6670ed4 (patch)
tree5c08aafe3678f04ca7ec79082d18858045fbd6b3 /Modules/mmapmodule.c
parent9486ace53954ce99805405df96eb2378cbee31c7 (diff)
downloadcpython-f000d96a65b2a6965d4d6796dfe91353a6670ed4.tar.gz
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 3973124e14..8c5c8ac80a 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)) {