diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-08-15 18:32:16 +0000 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-08-15 18:32:16 +0000 |
commit | 835b445a918a7e47849ab48522b11b404878b73d (patch) | |
tree | 864ca87addb620c3c1c3ee01b4c4e597e700ae7b /Modules/mmapmodule.c | |
parent | bc760d9f4572c1f2356f7444d8cd3aa01f7fad38 (diff) | |
download | cpython-git-835b445a918a7e47849ab48522b11b404878b73d.tar.gz |
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 b170b3885e..c39715a364 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)) { |