summaryrefslogtreecommitdiff
path: root/payloads/coreinfo/pci_module.c
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/coreinfo/pci_module.c')
-rw-r--r--payloads/coreinfo/pci_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/coreinfo/pci_module.c b/payloads/coreinfo/pci_module.c
index 3060161fe0..cb53ed69f7 100644
--- a/payloads/coreinfo/pci_module.c
+++ b/payloads/coreinfo/pci_module.c
@@ -51,7 +51,7 @@ static void swap(struct pci_devices *a, struct pci_devices *b)
static int partition(struct pci_devices *list, int len)
{
- int val = list[len / 2].device;
+ pcidev_t val = list[len / 2].device;
int index = 0;
int i;