Commit 10297e4d authored by Pekka Pessi's avatar Pekka Pessi
Browse files

tport_type_tcp.c: silenced conversion warning

darcs-hash:20070913134752-65a35-fed28f0d2a3e53bc5b96e643b28faaed92021f0e.gz
parent 02988146
...@@ -313,7 +313,7 @@ int tport_recv_stream(tport_t *self) ...@@ -313,7 +313,7 @@ int tport_recv_stream(tport_t *self)
if (i + self->tp_ping >= 4) if (i + self->tp_ping >= 4)
tport_tcp_pong(self); tport_tcp_pong(self);
else else
self->tp_ping += i; self->tp_ping += (unsigned short)i;
if (i == iovec->siv_len && veclen == 1) { if (i == iovec->siv_len && veclen == 1) {
SU_DEBUG_7(("%s(%p): received %u bytes of keepalive\n", SU_DEBUG_7(("%s(%p): received %u bytes of keepalive\n",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment