diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-09-01 19:10:01 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2006-09-01 19:10:01 +0000 |
commit | cf04e8aca91e40a0d8096d01462439d650a63d6e (patch) | |
tree | d6f18b1e0e99ac13a104b120a2fadd0e5567e948 /cpukit/libnetworking/net/pppcompress.c | |
parent | *** empty log message *** (diff) | |
download | rtems-cf04e8aca91e40a0d8096d01462439d650a63d6e.tar.bz2 |
*** empty log message ***
Diffstat (limited to 'cpukit/libnetworking/net/pppcompress.c')
-rw-r--r-- | cpukit/libnetworking/net/pppcompress.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/libnetworking/net/pppcompress.c b/cpukit/libnetworking/net/pppcompress.c index 5c924e0446..ea98bdd852 100644 --- a/cpukit/libnetworking/net/pppcompress.c +++ b/cpukit/libnetworking/net/pppcompress.c @@ -426,10 +426,10 @@ vj_uncompress_tcp(bufp, len, type, comp) * header (we assume the packet we were handed has enough space to * prepend 128 bytes of header). */ - if ((int)cp & 3) { + if ((intptr_t)cp & 3) { if (len > 0) - (void) ovbcopy(cp, (caddr_t)((int)cp &~ 3), len); - cp = (u_char *)((int)cp &~ 3); + (void) ovbcopy(cp, (caddr_t)((intptr_t)cp &~ 3), len); + cp = (u_char *)((intptr_t)cp &~ 3); } cp -= hlen; len += hlen; |