svn commit: r350571 - head/sys/dev/pci

Justin Hibbits jhibbits at FreeBSD.org
Sun Aug 4 19:47:03 UTC 2019


Author: jhibbits
Date: Sun Aug  4 19:47:02 2019
New Revision: 350571
URL: https://svnweb.freebsd.org/changeset/base/350571

Log:
  Fix the build after r350570.
  
  Signed char cannot compare to values above 0x7f.  Use unsigned instead.

Modified:
  head/sys/dev/pci/vga_pci.c

Modified: head/sys/dev/pci/vga_pci.c
==============================================================================
--- head/sys/dev/pci/vga_pci.c	Sun Aug  4 19:28:10 2019	(r350570)
+++ head/sys/dev/pci/vga_pci.c	Sun Aug  4 19:47:02 2019	(r350571)
@@ -169,7 +169,7 @@ vga_pci_map_bios(device_t dev, size_t *size)
 	device_t pcib;
 	uint32_t rom_addr;
 	uint16_t config;
-	volatile char *bios;
+	volatile unsigned char *bios;
 	int i, rid, found;
 
 #if defined(__amd64__) || defined(__i386__)


More information about the svn-src-head mailing list