Cast the difference of two pointers to an int so that it can be compiled

on more esoteric architectures.
This commit is contained in:
agc 2002-05-30 11:45:02 +00:00
parent f75be30e68
commit 0bb4958e16
1 changed files with 1 additions and 1 deletions

View File

@ -315,7 +315,7 @@ dumpppp(f)
++r;
if (endp - r > mru)
printf(" ERROR: length (%d) > MRU (%d)\n",
endp - r, mru);
(int)(endp - r), mru);
if (decompress && fcs == PPP_GOODFCS) {
/* See if this is a CCP or compressed packet */
d = dbuf;