diff options
author | jhb <jhb@FreeBSD.org> | 2002-11-08 18:27:30 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-11-08 18:27:30 +0000 |
commit | b72917b520dafbce4c1cc804dc93887d66c593b3 (patch) | |
tree | 291ae2bd3be9306179924d18340c26cf8e4f0b9c /sys/netatm/spans | |
parent | 451dec5f86ca56ab2475ea41c94afa7b4fc2b919 (diff) | |
download | FreeBSD-src-b72917b520dafbce4c1cc804dc93887d66c593b3.zip FreeBSD-src-b72917b520dafbce4c1cc804dc93887d66c593b3.tar.gz |
- Change the ATM stack functions to use intptr_t instead of int for opaque
arguments.
- Fix a few other places that assumed that sizeof(int) == sizeof(void *).
Reviewed by: mdodd
Diffstat (limited to 'sys/netatm/spans')
-rw-r--r-- | sys/netatm/spans/spans_kxdr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netatm/spans/spans_kxdr.c b/sys/netatm/spans/spans_kxdr.c index b285aa6..745deba 100644 --- a/sys/netatm/spans/spans_kxdr.c +++ b/sys/netatm/spans/spans_kxdr.c @@ -678,5 +678,5 @@ xdrmbuf_getpos(xdrs) register XDR *xdrs; { - return ((u_int)xdrs->x_private - (u_int)xdrs->x_base); + return ((uintptr_t)xdrs->x_private - (uintptr_t)xdrs->x_base); } |