summaryrefslogtreecommitdiffstats
path: root/sys/netatm/uni/unisig_encode.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-11-08 18:27:30 +0000
committerjhb <jhb@FreeBSD.org>2002-11-08 18:27:30 +0000
commitb72917b520dafbce4c1cc804dc93887d66c593b3 (patch)
tree291ae2bd3be9306179924d18340c26cf8e4f0b9c /sys/netatm/uni/unisig_encode.c
parent451dec5f86ca56ab2475ea41c94afa7b4fc2b919 (diff)
downloadFreeBSD-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/uni/unisig_encode.c')
-rw-r--r--sys/netatm/uni/unisig_encode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netatm/uni/unisig_encode.c b/sys/netatm/uni/unisig_encode.c
index c514b4c..52f55cc 100644
--- a/sys/netatm/uni/unisig_encode.c
+++ b/sys/netatm/uni/unisig_encode.c
@@ -1538,7 +1538,7 @@ usf_enc_ie_ident(usf, ie, tbl)
/*
* Check whether to send the field
*/
- cp = (char *) ((int)ie + tbl[i].f_offs);
+ cp = (char *) ((intptr_t)ie + tbl[i].f_offs);
if (tbl[i].len == 0) {
if ((*cp == T_NO || *cp == T_ATM_ABSENT))
continue;
OpenPOWER on IntegriCloud