Cast to signed int to squelch compiler warning

This commit is contained in:
Mark Qvist 2014-04-30 18:19:47 +02:00
parent 3ef8e5ffc4
commit a830c01987
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -1,2 +1,2 @@
#define VERS_BUILD 1739
#define VERS_BUILD 1742
#define VERS_HOST "shard"