diff options
author | bde <bde@FreeBSD.org> | 1998-08-10 17:21:49 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-08-10 17:21:49 +0000 |
commit | d09c7eccb228027516b5db0d20d6eb3a3d6a5263 (patch) | |
tree | bbff64fe46338c0c5ffd53ec805c064c23dfd9b9 /sys/dev/ic | |
parent | fd093a92abf593af9ca5e35b48ea1e8ec4468072 (diff) | |
download | FreeBSD-src-d09c7eccb228027516b5db0d20d6eb3a3d6a5263.zip FreeBSD-src-d09c7eccb228027516b5db0d20d6eb3a3d6a5263.tar.gz |
Use [u]intptr_t instead of [unsigned] long to convert and/or represent
pointers.
This finishes fixing conversions between pointers and integers of
possibly different sizes in GENERIC.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/i82586.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/i82586.h b/sys/dev/ic/i82586.h index dd8f9cb..c1504fe 100644 --- a/sys/dev/ic/i82586.h +++ b/sys/dev/ic/i82586.h @@ -31,7 +31,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: i82586.h,v 1.5 1997/02/22 09:38:02 peter Exp $ + * $Id: i82586.h,v 1.6 1998/04/15 17:45:58 bde Exp $ */ /* @@ -311,7 +311,7 @@ ie_setup_config(volatile struct ie_config_cmd *cmd, static __inline caddr_t Align(caddr_t ptr) { - unsigned long l = (unsigned long)ptr; + uintptr_t l = (uintptr_t)ptr; l = (l + 3) & ~3L; return (caddr_t)l; } |