COMP: Remove warnings

This commit is contained in:
Andy Cedilnik 2006-08-14 11:32:35 -04:00
parent 622a22a921
commit 97f1c2b5f0
1 changed files with 1 additions and 1 deletions

View File

@ -439,7 +439,7 @@ int output(struct cmcompress_stream* cdata, code_int code)
* Since code is always >= 8 bits, only need to mask the first
* hunk on the left.
*/
*bp = (*bp & rmask[r_off]) | ((code << r_off) & lmask[r_off]);
*bp = (char)((*bp & rmask[r_off]) | ((code << r_off) & lmask[r_off]));
bp++;
bits -= (8 - r_off);
code >>= 8 - r_off;