Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 May 2020 20:10:01 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r360917 - stable/12/sys/dev/pci
Message-ID:  <202005112010.04BKA1dh088748@repo.freebsd.org>

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



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