commit | 4045575dd5a8605782fa2b6e3e734c28e529b27d | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Sun Aug 15 18:51:10 2010 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Sun Aug 15 18:51:10 2010 +0000 |
tree | db0b65462f03630dfeadefad965f1413565a9379 | |
parent | 22e4155706069f871c842771113b38379a716449 [diff] [blame] |
Fix more 64-bit warnings.
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 @@ /* 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 */