Fix more 64-bit warnings.

This commit is contained in:
Antoine Pitrou 2010-08-15 18:51:10 +00:00
parent 22e4155706
commit 4045575dd5
2 changed files with 11 additions and 15 deletions

View file

@ -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 */