Date: Fri, 26 Feb 2016 23:12:59 +0000 (UTC) From: "Pedro F. Giffuni" <pfg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r296132 - head/usr.sbin/pciconf Message-ID: <201602262312.u1QNCx3o050893@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602262312.u1QNCx3o050893>