Fix overflow warnings from static analysis (#1183)

This commit is contained in:
Christian W. Zuckschwerdt
2019-10-30 09:31:29 +01:00
parent fcb4d16651
commit b785a67293
5 changed files with 9 additions and 9 deletions

View File

@@ -63,10 +63,10 @@ void bitbuffer_print(const bitbuffer_t *bits);
void bitbuffer_debug(const bitbuffer_t *bits);
/// Print the content of a bit row (byte buffer).
void bitrow_print(bitrow_t const bitrow, unsigned bit_len);
void bitrow_print(uint8_t const *bitrow, unsigned bit_len);
/// Debug the content of a bit row (byte buffer).
void bitrow_debug(bitrow_t const bitrow, unsigned bit_len);
void bitrow_debug(uint8_t const *bitrow, unsigned bit_len);
/// Parse a string into a bitbuffer.
void bitbuffer_parse(bitbuffer_t *bits, const char *code);