if (i + self->tp_ping >= 4)
tport_tcp_pong(self);
else
- self->tp_ping += i;
+ self->tp_ping += (unsigned short)i;
if (i == iovec->siv_len && veclen == 1) {
SU_DEBUG_7(("%s(%p): received %u bytes of keepalive\n",
if (s && !url_canonize(s, s, SIZE_MAX,
/* Allow all URI characters but ? */
/* Allow unescaped /;?@, - but do not convert */
- SYN33('/') | SYN33(';') | SYN33('=') | SYN33('@') |
- SYN33(','),
+ (unsigned)(SYN33('/') | SYN33(';') | SYN33('=') | SYN33('@') |
+ SYN33(',')),
/* Convert escaped :&+$ to unescaped */
":&+$"))
return -1;
if (s && !url_canonize(s, s, SIZE_MAX,
/* Allow all URI characters but ? */
/* Allow unescaped ;=@, - but do not convert */
- SYN33(';') | SYN33('=') | SYN33('@') | SYN33(','),
+ (unsigned)(SYN33(';') | SYN33('=') | SYN33('@') | SYN33(',')),
/* Convert escaped /:&+$ to unescaped */
"/:&+$"))
return -1;