pciconf: Silence a GCC warning.

Fix the build on sparc64 and powerpc.

Taken from:	wma
This commit is contained in:
Pedro F. Giffuni 2016-02-26 23:12:59 +00:00
parent f35fbc2982
commit 733191a56c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=296132

View File

@ -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"