svn commit: r360917 - stable/12/sys/dev/pci
Justin Hibbits
jhibbits at FreeBSD.org
Mon May 11 20:10:01 UTC 2020
Author: jhibbits
Date: Mon May 11 20:10:01 2020
New Revision: 360917
URL: https://svnweb.freebsd.org/changeset/base/360917
Log:
MFC r350571:
Fix the build after r350570.
Signed char cannot compare to values above 0x7f. Use unsigned instead.
Modified:
stable/12/sys/dev/pci/vga_pci.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/dev/pci/vga_pci.c
==============================================================================
--- stable/12/sys/dev/pci/vga_pci.c Mon May 11 19:57:45 2020 (r360916)
+++ stable/12/sys/dev/pci/vga_pci.c Mon May 11 20:10:01 2020 (r360917)
@@ -170,7 +170,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-stable
mailing list