mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
pciconf: Silence a GCC warning.
Fix the build on sparc64 and powerpc. Taken from: wma
This commit is contained in:
parent
f35fbc2982
commit
733191a56c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=296132
@ -535,7 +535,7 @@ cap_pciaf(int fd, struct pci_conf *p, uint8_t ptr)
|
||||
}
|
||||
|
||||
static const char *
|
||||
ea_bei_to_name(uint8_t bei)
|
||||
ea_bei_to_name(int bei)
|
||||
{
|
||||
static const char *barstr[] = {
|
||||
"BAR0", "BAR1", "BAR2", "BAR3", "BAR4", "BAR5"
|
||||
|
Loading…
Reference in New Issue
Block a user