gcc format strings: couple more
This commit is contained in:
parent
7fb607720d
commit
7ad81d6cdd
2 changed files with 4 additions and 3 deletions
|
@ -303,9 +303,10 @@ lws_extension_callback_pm_deflate(struct lws_context *context,
|
|||
priv->count_rx_between_fin += eff_buf->token_len;
|
||||
|
||||
lwsl_ext(" %s: RX leaving with new effbuff len %d, "
|
||||
"ret %d, rx.avail_in=%d, TOTAL RX since FIN %ld\n",
|
||||
"ret %d, rx.avail_in=%d, TOTAL RX since FIN %lu\n",
|
||||
__func__, eff_buf->token_len, priv->rx_held_valid,
|
||||
priv->rx.avail_in, priv->count_rx_between_fin);
|
||||
priv->rx.avail_in,
|
||||
(unsigned long)priv->count_rx_between_fin);
|
||||
|
||||
if (was_fin) {
|
||||
priv->count_rx_between_fin = 0;
|
||||
|
|
|
@ -245,7 +245,7 @@ postbody_completion:
|
|||
|
||||
read_ok:
|
||||
/* Nothing more to do for now */
|
||||
lwsl_info("%s: read_ok, used %ld\n", __func__, buf - oldbuf);
|
||||
lwsl_info("%s: read_ok, used %ld\n", __func__, (long)(buf - oldbuf));
|
||||
|
||||
return buf - oldbuf;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue