diff options
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/if_tx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_tx.c b/sys/pci/if_tx.c index 26b6bdb..ba4121d 100644 --- a/sys/pci/if_tx.c +++ b/sys/pci/if_tx.c @@ -780,7 +780,7 @@ epic_common_attach(sc) /* Align pool on PAGE_SIZE */ pool = (caddr_t)sc->pool; - pool = (caddr_t)((u_int32_t)(pool + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1)); + pool = (caddr_t)((uintptr_t)(pool + PAGE_SIZE - 1) & ~(PAGE_SIZE - 1)); /* Distribute memory */ sc->tx_flist = (void *)pool; |