diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-08-15 18:07:50 +0000 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-08-15 18:07:50 +0000 |
commit | f000d96a65b2a6965d4d6796dfe91353a6670ed4 (patch) | |
tree | 5c08aafe3678f04ca7ec79082d18858045fbd6b3 /Modules/mmapmodule.c | |
parent | 9486ace53954ce99805405df96eb2378cbee31c7 (diff) | |
download | cpython-f000d96a65b2a6965d4d6796dfe91353a6670ed4.tar.gz |
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 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)) { |