summaryrefslogtreecommitdiffstats
path: root/Modules/stropmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-04-29 21:34:16 (GMT)
committerGuido van Rossum <guido@python.org>1997-04-29 21:34:16 (GMT)
commit1ed5e5768429f425f5bcb9f03bf04179dcca569f (patch)
tree74e39013dfe4bcd297fa3e0d80b7ae9ff356a53e /Modules/stropmodule.c
parent86bea46b3d16c4ed0453e17f241ddbdfade76c98 (diff)
downloadcpython-1ed5e5768429f425f5bcb9f03bf04179dcca569f.zip
cpython-1ed5e5768429f425f5bcb9f03bf04179dcca569f.tar.gz
cpython-1ed5e5768429f425f5bcb9f03bf04179dcca569f.tar.bz2
Keep gcc -Wall happy.
Diffstat (limited to 'Modules/stropmodule.c')
-rw-r--r--Modules/stropmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/stropmodule.c b/Modules/stropmodule.c
index 999a1c3..d52ac7f 100644
--- a/Modules/stropmodule.c
+++ b/Modules/stropmodule.c
@@ -777,7 +777,7 @@ strop_translate(self, args)
trans_table[i] = Py_CHARMASK(table[i]);
for (i = 0; i < dellen; i++)
- trans_table[Py_CHARMASK(del_table[i])] = -1;
+ trans_table[(int) Py_CHARMASK(del_table[i])] = -1;
for (i = inlen; --i >= 0; ) {
c = Py_CHARMASK(*input++);