diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-08-15 18:51:10 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-08-15 18:51:10 (GMT) |
commit | 4045575dd5a8605782fa2b6e3e734c28e529b27d (patch) | |
tree | db0b65462f03630dfeadefad965f1413565a9379 /Modules/binascii.c | |
parent | 22e4155706069f871c842771113b38379a716449 (diff) | |
download | cpython-4045575dd5a8605782fa2b6e3e734c28e529b27d.zip cpython-4045575dd5a8605782fa2b6e3e734c28e529b27d.tar.gz cpython-4045575dd5a8605782fa2b6e3e734c28e529b27d.tar.bz2 |
Fix more 64-bit warnings.
Diffstat (limited to 'Modules/binascii.c')
-rw-r--r-- | Modules/binascii.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/binascii.c b/Modules/binascii.c index 8b9c5f5..e44c251 100644 --- a/Modules/binascii.c +++ b/Modules/binascii.c @@ -664,7 +664,7 @@ binascii_rlecode_hqx(PyObject *self, PyObject *args) /* More than 3 in a row. Output RLE. */ *out_data++ = ch; *out_data++ = RUNCHAR; - *out_data++ = (unsigned char) inend-in; + *out_data++ = (unsigned char) (inend-in); in = inend-1; } else { /* Less than 3. Output the byte itself */ |