* notice must be reproduced on all copies.
*
* @(#) $FreeBSD: src/usr.sbin/atm/atmarpd/atmarp_timer.c,v 1.3 1999/08/28 01:15:30 peter Exp $
- * @(#) $DragonFly: src/usr.sbin/atm/atmarpd/atmarp_timer.c,v 1.4 2004/12/18 22:48:02 swildner Exp $
*/
/*
* Back off to start of DCS entry
*/
aip = (Atmarp_intf *) ((caddr_t)tp -
- (int)(&((Atmarp_intf *)0)->ai_keepalive_t));
+ (uintptr_t)(&((Atmarp_intf *)0)->ai_keepalive_t));
/*
* Get a message buffer
* notice must be reproduced on all copies.
*
* @(#) $FreeBSD: src/usr.sbin/atm/scspd/scsp_timer.c,v 1.3 1999/08/28 01:15:34 peter Exp $
- * @(#) $DragonFly: src/usr.sbin/atm/scspd/scsp_timer.c,v 1.4 2004/12/18 22:48:02 swildner Exp $
*/
/*
* Back off to start of DCS entry
*/
dcsp = (Scsp_dcs *) ((caddr_t)stp -
- (int)(&((Scsp_dcs *)0)->sd_open_t));
+ (uintptr_t)(&((Scsp_dcs *)0)->sd_open_t));
/*
* Retry the connection
* Back off to start of DCS entry
*/
dcsp = (Scsp_dcs *) ((caddr_t)stp -
- (int)(&((Scsp_dcs *)0)->sd_hello_h_t));
+ (uintptr_t)(&((Scsp_dcs *)0)->sd_hello_h_t));
/*
* Call the Hello FSM
* Back off to start of DCS entry
*/
dcsp = (Scsp_dcs *) ((caddr_t)stp -
- (int)(&((Scsp_dcs *)0)->sd_hello_rcv_t));
+ (uintptr_t)(&((Scsp_dcs *)0)->sd_hello_rcv_t));
/*
* Call the Hello FSM
* Back off to start of DCS entry
*/
dcsp = (Scsp_dcs *) ((caddr_t)stp -
- (int)(&((Scsp_dcs *)0)->sd_ca_rexmt_t));
+ (uintptr_t)(&((Scsp_dcs *)0)->sd_ca_rexmt_t));
/*
* Call the CA FSM
* Back off to start of DCS entry
*/
dcsp = (Scsp_dcs *) ((caddr_t)stp -
- (int)(&((Scsp_dcs *)0)->sd_csus_rexmt_t));
+ (uintptr_t)(&((Scsp_dcs *)0)->sd_csus_rexmt_t));
/*
* Call the CA FSM
* Back off to start of CSU Request retransmission entry
*/
rxp = (Scsp_csu_rexmt *) ((caddr_t)stp -
- (int)(&((Scsp_csu_rexmt *)0)->sr_t));
+ (uintptr_t)(&((Scsp_csu_rexmt *)0)->sr_t));
dcsp = rxp->sr_dcs;
/*