clean up some compiler errors

This commit is contained in:
Brendan O'Dea 2011-09-12 20:46:07 +10:00
parent d2848cebc4
commit b939b00afd
4 changed files with 11 additions and 13 deletions

2
ppp.c
View file

@ -2369,7 +2369,7 @@ uint8_t *makeppp(uint8_t *b, int size, uint8_t *p, int l, sessionidt s, tunnelid
if ((b - start) + l > size)
{
LOG(2, s, t, "makeppp would overflow buffer (size=%d, header+payload=%d)\n", size, (b - start) + l);
LOG(2, s, t, "makeppp would overflow buffer (size=%d, header+payload=%ld)\n", size, (b - start) + l);
return NULL;
}