mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-05-02 06:26:24 -04:00
Cast to signed int to squelch compiler warning
This commit is contained in:
parent
3ef8e5ffc4
commit
a830c01987
2 changed files with 2 additions and 2 deletions
|
@ -527,7 +527,7 @@ static uint16_t find_longest_match(heatshrink_encoder *hse, uint16_t start,
|
|||
pos = hsi->index[pos];
|
||||
}
|
||||
#else
|
||||
for (int16_t pos=end - 1; pos >= start; pos--) {
|
||||
for (int16_t pos=end - 1; pos >= (int16_t)start; pos--) {
|
||||
for (len=0; len<maxlen; len++) {
|
||||
if (0) {
|
||||
LOG(" --> cmp buf[%d] == 0x%02x against %02x (start %u)\n",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue