commit | 22e4155706069f871c842771113b38379a716449 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Sun Aug 15 18:07:50 2010 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Sun Aug 15 18:07:50 2010 +0000 |
tree | 67876144c0870be8f644d0f49ca8b370a063489f | |
parent | 47019e500cea31e9ad647bc2d57e47eafc2ef356 [diff] [blame] |
Fix other warnings under 64-bit Windows.
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 @@ "in range(0, 256)"); return -1; } - self->data[i] = v; + self->data[i] = (char) v; return 0; } else if (PySlice_Check(item)) {