summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/inteltool/amb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/inteltool/amb.c b/util/inteltool/amb.c
index a1761ee501..13397dbf5e 100644
--- a/util/inteltool/amb.c
+++ b/util/inteltool/amb.c
@@ -438,7 +438,7 @@ int print_ambs(struct pci_dev *dev, struct pci_access *pacc)
return 1;
}
- ambconfig_phys = ((u64)pci_read_long(dev16, 0x4c) << 32) |
+ ambconfig_phys = ((uint64_t)pci_read_long(dev16, 0x4c) << 32) |
pci_read_long(dev16, 0x48);
max_channel = pci_read_byte(dev16, 0x56)/max_branch;