fix compiler warning

pull/6/head
Richard Fuchs 12 years ago
parent 838917b226
commit 88dfeee622

@ -1951,14 +1951,14 @@ static void call_destroy(struct call *c) {
smart_ntop_p(buf, &ps->endpoint.ip46, sizeof(buf)); smart_ntop_p(buf, &ps->endpoint.ip46, sizeof(buf));
ilog(LOG_INFO, "------ Media #%u, port %5u <> %15s:%-5hu%s, " ilog(LOG_INFO, "------ Media #%u, port %5u <> %15s:%-5hu%s, "
"%lu p, %lu b, %lu e", "%llu p, %llu b, %llu e",
md->index, md->index,
(unsigned int) (ps->sfd ? ps->sfd->fd.localport : 0), (unsigned int) (ps->sfd ? ps->sfd->fd.localport : 0),
buf, ps->endpoint.port, buf, ps->endpoint.port,
(!PS_ISSET(ps, RTP) && PS_ISSET(ps, RTCP)) ? " (RTCP)" : "", (!PS_ISSET(ps, RTP) && PS_ISSET(ps, RTCP)) ? " (RTCP)" : "",
ps->stats.packets, (unsigned long long) ps->stats.packets,
ps->stats.bytes, (unsigned long long) ps->stats.bytes,
ps->stats.errors); (unsigned long long) ps->stats.errors);
} }
} }
} }

Loading…
Cancel
Save