COMP: Remove warnings
This commit is contained in:
parent
622a22a921
commit
97f1c2b5f0
|
@ -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
|
* Since code is always >= 8 bits, only need to mask the first
|
||||||
* hunk on the left.
|
* 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++;
|
bp++;
|
||||||
bits -= (8 - r_off);
|
bits -= (8 - r_off);
|
||||||
code >>= 8 - r_off;
|
code >>= 8 - r_off;
|
||||||
|
|
Loading…
Reference in New Issue