Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Aug 2019 19:47:02 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r350571 - head/sys/dev/pci
Message-ID:  <201908041947.x74Jl20R008691@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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__)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908041947.x74Jl20R008691>