diff options
Diffstat (limited to 'sys/dev/my/if_my.c')
-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) { |