diff options
author | jhb <jhb@FreeBSD.org> | 2002-11-07 22:21:10 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-11-07 22:21:10 +0000 |
commit | acd06c3cb3167725516b0472c4fa4b2b5738de35 (patch) | |
tree | 17507e91450dd1e2e84d09e978a14ef335a9ca7a /sys | |
parent | 8120d9e4ea8c0e09335ea88c575cb8b697574f1f (diff) | |
download | FreeBSD-src-acd06c3cb3167725516b0472c4fa4b2b5738de35.zip FreeBSD-src-acd06c3cb3167725516b0472c4fa4b2b5738de35.tar.gz |
Cast a pointer to a uintptr_t instead of a u_int.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/my/if_my.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/my/if_my.c b/sys/dev/my/if_my.c index 9ceccf9..6fedd54 100644 --- a/sys/dev/my/if_my.c +++ b/sys/dev/my/if_my.c @@ -977,7 +977,7 @@ my_attach(device_t dev) goto fail; } sc->my_ldata = (struct my_list_data *) sc->my_ldata_ptr; - round = (unsigned int)sc->my_ldata_ptr & 0xF; + round = (uintptr_t)sc->my_ldata_ptr & 0xF; roundptr = sc->my_ldata_ptr; for (i = 0; i < 8; i++) { if (round % 8) { |