Skip to content

Commit

Permalink
Fix warning reported by jenkins ros2 ci
Browse files Browse the repository at this point in the history
  • Loading branch information
fspindle committed Feb 1, 2024
1 parent cfbf152 commit 37f98cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/core/src/tools/file/basisu_miniz.h
Original file line number Diff line number Diff line change
Expand Up @@ -1605,10 +1605,11 @@ static void tdefl_optimize_huffman_table(tdefl_compressor *d, int table_num, int
mz_uint bits = b; mz_uint len = l; MZ_ASSERT(bits <= ((1U << len) - 1U)); \
d->m_bit_buffer |= (bits << d->m_bits_in); d->m_bits_in += len; \
while (d->m_bits_in >= 8) { \
if (d->m_pOutput_buf < d->m_pOutput_buf_end) \
if (d->m_pOutput_buf < d->m_pOutput_buf_end) { \
*d->m_pOutput_buf++ = (mz_uint8)(d->m_bit_buffer); \
d->m_bit_buffer >>= 8; \
d->m_bits_in -= 8; \
} \
} \
} MZ_MACRO_END

Expand Down

0 comments on commit 37f98cf

Please sign in to comment.