Cast to signed int to squelch compiler warning
This commit is contained in:
parent
3ef8e5ffc4
commit
a830c01987
|
@ -527,7 +527,7 @@ static uint16_t find_longest_match(heatshrink_encoder *hse, uint16_t start,
|
||||||
pos = hsi->index[pos];
|
pos = hsi->index[pos];
|
||||||
}
|
}
|
||||||
#else
|
#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++) {
|
for (len=0; len<maxlen; len++) {
|
||||||
if (0) {
|
if (0) {
|
||||||
LOG(" --> cmp buf[%d] == 0x%02x against %02x (start %u)\n",
|
LOG(" --> cmp buf[%d] == 0x%02x against %02x (start %u)\n",
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#define VERS_BUILD 1739
|
#define VERS_BUILD 1742
|
||||||
#define VERS_HOST "shard"
|
#define VERS_HOST "shard"
|
||||||
|
|
Loading…
Reference in New Issue