Commit f21e9674 authored by Olivier Crête's avatar Olivier Crête

Print size_t with the right argument

parent 30c4f27a
...@@ -1279,7 +1279,8 @@ attempt_send(PseudoTcpSocket *self, SendFlags sflags) ...@@ -1279,7 +1279,8 @@ attempt_send(PseudoTcpSocket *self, SendFlags sflags)
if (bFirst) { if (bFirst) {
bFirst = FALSE; bFirst = FALSE;
DEBUG (PSEUDO_TCP_DEBUG_VERBOSE, "[cwnd: %d nWindow: %d nInFlight: %d " DEBUG (PSEUDO_TCP_DEBUG_VERBOSE, "[cwnd: %d nWindow: %d nInFlight: %d "
"nAvailable: %d nQueued: %d nEmpty: %d ssthresh: %d]", "nAvailable: %d nQueued: %d nEmpty: %" G_GSIZE_FORMAT
" ssthresh: %d]",
priv->cwnd, nWindow, nInFlight, nAvailable, priv->slen - nInFlight, priv->cwnd, nWindow, nInFlight, nAvailable, priv->slen - nInFlight,
sizeof(priv->sbuf) - priv->slen, priv->ssthresh); sizeof(priv->sbuf) - priv->slen, priv->ssthresh);
} }
......
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