diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-08-15 18:32:16 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-08-15 18:32:16 (GMT) |
commit | 835b445a918a7e47849ab48522b11b404878b73d (patch) | |
tree | 864ca87addb620c3c1c3ee01b4c4e597e700ae7b /Modules/mmapmodule.c | |
parent | bc760d9f4572c1f2356f7444d8cd3aa01f7fad38 (diff) | |
download | cpython-835b445a918a7e47849ab48522b11b404878b73d.zip cpython-835b445a918a7e47849ab48522b11b404878b73d.tar.gz cpython-835b445a918a7e47849ab48522b11b404878b73d.tar.bz2 |
Merged revisions 84076 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84076 | antoine.pitrou | 2010-08-15 20:07:50 +0200 (dim., 15 août 2010) | 4 lines
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 b170b38..c39715a 100644 --- a/Modules/mmapmodule.c +++ b/Modules/mmapmodule.c @@ -845,7 +845,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)) { |