diff options
author | jhb <jhb@FreeBSD.org> | 2002-11-06 22:58:55 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-11-06 22:58:55 +0000 |
commit | 22de9969b03a4095e7f4ced476b44cbf8940c804 (patch) | |
tree | b9c644fe435844323fa950fc91719ced8e19e05e /sys/dev/hfa | |
parent | 74e3cefa12c6299ea428f8aee0e5d4d2b3cdbe05 (diff) | |
download | FreeBSD-src-22de9969b03a4095e7f4ced476b44cbf8940c804.zip FreeBSD-src-22de9969b03a4095e7f4ced476b44cbf8940c804.tar.gz |
Adjust some casts to quiet warnings.
Reviewed by: mdodd
Diffstat (limited to 'sys/dev/hfa')
-rw-r--r-- | sys/dev/hfa/fore_output.c | 2 | ||||
-rw-r--r-- | sys/dev/hfa/fore_receive.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/hfa/fore_output.c b/sys/dev/hfa/fore_output.c index 80b53cb..df9f0f9 100644 --- a/sys/dev/hfa/fore_output.c +++ b/sys/dev/hfa/fore_output.c @@ -333,7 +333,7 @@ retry: * Get start of data onto full-word alignment */ KB_DATASTART(m, cp, caddr_t); - if ((align = ((u_int)cp) & (XMIT_SEG_ALIGN - 1)) != 0) { + if ((align = ((uintptr_t)cp) & (XMIT_SEG_ALIGN - 1)) != 0) { /* * Gotta slide the data up */ diff --git a/sys/dev/hfa/fore_receive.c b/sys/dev/hfa/fore_receive.c index 3bcae97..15ccf78 100644 --- a/sys/dev/hfa/fore_receive.c +++ b/sys/dev/hfa/fore_receive.c @@ -544,7 +544,7 @@ fore_recv_stack(tok, m) * Send the data up the stack */ STACK_CALL(CPCS_UNITDATA_SIG, fvp->fv_upper, - fvp->fv_toku, fvp->fv_connvc, (int)m, 0, err); + fvp->fv_toku, fvp->fv_connvc, (intptr_t)m, 0, err); if (err) KB_FREEALL(m); |