Fixed pointer signedness warning
This commit is contained in:
parent
dfd8cf2a97
commit
bc51198354
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ long long read_bits(input_stream_t* state, int count, char signed_p) {
|
|||
|
||||
#define MK_INPUT_STREAM(buf,len,endianness_) \
|
||||
{ \
|
||||
.input = buf, \
|
||||
.input = (uint8_t*)buf, \
|
||||
.length = len, \
|
||||
.index = 0, \
|
||||
.bit_offset = (((endianness_) & BIT_BIG_ENDIAN) ? 8 : 0), \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue