svn commit: r296132 - head/usr.sbin/pciconf
Pedro F. Giffuni
pfg at FreeBSD.org
Fri Feb 26 23:13:00 UTC 2016
Author: pfg
Date: Fri Feb 26 23:12:59 2016
New Revision: 296132
URL: https://svnweb.freebsd.org/changeset/base/296132
Log:
pciconf: Silence a GCC warning.
Fix the build on sparc64 and powerpc.
Taken from: wma
Modified:
head/usr.sbin/pciconf/cap.c
Modified: head/usr.sbin/pciconf/cap.c
==============================================================================
--- head/usr.sbin/pciconf/cap.c Fri Feb 26 22:25:35 2016 (r296131)
+++ head/usr.sbin/pciconf/cap.c Fri Feb 26 23:12:59 2016 (r296132)
@@ -535,7 +535,7 @@ cap_pciaf(int fd, struct pci_conf *p, ui
}
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"
More information about the svn-src-head
mailing list