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__)
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to