Changeset 338


Ignore:
Timestamp:
06/30/07 13:45:14 (17 years ago)
Author:
r2d
Message:

added explicit cast

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/trunk/libmpcdec/mpc_bits_reader.h

    r310 r338  
    107107        mpc_huff_lut tmp;
    108108        const mpc_huffman * Table;
    109         code = ((r->buff[0] << 16) | (r->buff[1] << 8) | r->buff[2]) >> r->count;
     109        code = (mpc_uint16_t)(((r->buff[0] << 16) | (r->buff[1] << 8) | r->buff[2]) >> r->count);
    110110
    111111        tmp = lut->lut[code >> (16 - LUT_DEPTH)];
Note: See TracChangeset for help on using the changeset viewer.