mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Cast a pointer to a uintptr_t instead of a u_int.
This commit is contained in:
parent
148aade5cb
commit
2fc606e29c
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue