Skip to content

Commit

Permalink
Fix build with PPP_DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
rojer committed May 22, 2019
1 parent d251bf9 commit 640217d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lwip/src/netif/ppp/vj.c
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ vj_uncompress_uncomp(struct pbuf *nb, struct vjcompress *comp)
> nb->len
|| hlen > MAX_HDR) {
PPPDEBUG(LOG_INFO, ("vj_uncompress_uncomp: bad cid=%d, hlen=%d buflen=%d\n",
IPH_PROTO(ip), hlen, nb->len));
IPH_PROTO(ip), (int) hlen, nb->len));
vj_uncompress_err(comp);
return -1;
}
Expand Down Expand Up @@ -597,7 +597,7 @@ vj_uncompress_tcp(struct pbuf **nb, struct vjcompress *comp)
* this but the old slip framing won't)
*/
PPPDEBUG(LOG_INFO, ("vj_uncompress_tcp: head buffer %d too short %d\n",
n0->len, vjlen));
n0->len, (int) vjlen));
goto bad;
}

Expand Down

0 comments on commit 640217d

Please sign in to comment.