From b72917b520dafbce4c1cc804dc93887d66c593b3 Mon Sep 17 00:00:00 2001 From: jhb Date: Fri, 8 Nov 2002 18:27:30 +0000 Subject: - 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 --- sys/netatm/uni/sscop_sigaa.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'sys/netatm/uni/sscop_sigaa.c') diff --git a/sys/netatm/uni/sscop_sigaa.c b/sys/netatm/uni/sscop_sigaa.c index c0e772e..33968ba 100644 --- a/sys/netatm/uni/sscop_sigaa.c +++ b/sys/netatm/uni/sscop_sigaa.c @@ -70,8 +70,8 @@ __RCSID("@(#) $FreeBSD$"); void sscop_estreq_idle(sop, arg1, arg2) struct sscop *sop; - int arg1; - int arg2; + intptr_t arg1; + intptr_t arg2; { /* @@ -137,8 +137,8 @@ sscop_estreq_idle(sop, arg1, arg2) void sscop_estrsp_inconn(sop, arg1, arg2) struct sscop *sop; - int arg1; - int arg2; + intptr_t arg1; + intptr_t arg2; { /* @@ -218,8 +218,8 @@ sscop_estrsp_inconn(sop, arg1, arg2) void sscop_relreq_outconn(sop, arg1, arg2) struct sscop *sop; - int arg1; - int arg2; + intptr_t arg1; + intptr_t arg2; { /* @@ -279,8 +279,8 @@ sscop_relreq_outconn(sop, arg1, arg2) void sscop_relreq_inconn(sop, arg1, arg2) struct sscop *sop; - int arg1; - int arg2; + intptr_t arg1; + intptr_t arg2; { /* @@ -318,8 +318,8 @@ sscop_relreq_inconn(sop, arg1, arg2) void sscop_relreq_ready(sop, arg1, arg2) struct sscop *sop; - int arg1; - int arg2; + intptr_t arg1; + intptr_t arg2; { /* @@ -386,8 +386,8 @@ sscop_relreq_ready(sop, arg1, arg2) void sscop_datreq_ready(sop, arg1, arg2) struct sscop *sop; - int arg1; - int arg2; + intptr_t arg1; + intptr_t arg2; { KBuffer *m = (KBuffer *)arg1; @@ -433,8 +433,8 @@ sscop_datreq_ready(sop, arg1, arg2) void sscop_udtreq_all(sop, arg1, arg2) struct sscop *sop; - int arg1; - int arg2; + intptr_t arg1; + intptr_t arg2; { KBuffer *m = (KBuffer *)arg1; -- cgit v1.1