From 4eaa2fde6f371f4d1396bcc266a2ef9d269a4a8e Mon Sep 17 00:00:00 2001 From: Justin Hibbits Date: Sun, 4 Aug 2019 20:00:39 +0000 Subject: [PATCH] Fix 32-bit build again, post r350570. Missed this part with my testing as well. Pass the right type to BUS_TRANSLATE_RESOURCE(). --- sys/compat/linuxkpi/common/src/linux_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/compat/linuxkpi/common/src/linux_pci.c b/sys/compat/linuxkpi/common/src/linux_pci.c index d28eac4d574..32835d3d133 100644 --- a/sys/compat/linuxkpi/common/src/linux_pci.c +++ b/sys/compat/linuxkpi/common/src/linux_pci.c @@ -391,7 +391,7 @@ unsigned long pci_resource_start(struct pci_dev *pdev, int bar) { struct resource_list_entry *rle; - unsigned long newstart; + rman_res_t newstart; device_t dev; if ((rle = linux_pci_get_bar(pdev, bar)) == NULL)