insert_string_tpl.h(50,26): warning C4244: '=': conversion from 'const uint32_t' to 'Pos', possible loss of data
insert_string_tpl.h(67,1): warning C4244: 'initializing': conversion from 'const uint32_t' to 'Pos', possible loss of data
head = s->head[hm];
if (LIKELY(head != str)) {
s->prev[str & s->w_mask] = head;
- s->head[hm] = str;
+ s->head[hm] = (Pos)str;
}
return head;
}
uint8_t *strstart = s->window + str;
uint8_t *strend = strstart + count - 1; /* last position */
- for (Pos idx = str; strstart <= strend; idx++, strstart++) {
+ for (Pos idx = (Pos)str; strstart <= strend; idx++, strstart++) {
uint32_t val, hm, h = 0;
#ifdef UNALIGNED_OK