From: kettenis Date: Sat, 1 May 2021 20:04:33 +0000 (+0000) Subject: Actually, that variable needs to be a u_int8_t pointer. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1f7a1f55d7e0b784ac8f1027cfac3a5ac1a6befc;p=openbsd Actually, that variable needs to be a u_int8_t pointer. This is what was tested, but I forgot to commit a file. --- diff --git a/sys/dev/ic/stivar.h b/sys/dev/ic/stivar.h index dff4ae29001..4c593088e2b 100644 --- a/sys/dev/ic/stivar.h +++ b/sys/dev/ic/stivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: stivar.h,v 1.26 2021/05/01 00:22:33 deraadt Exp $ */ +/* $OpenBSD: stivar.h,v 1.27 2021/05/01 20:04:33 kettenis Exp $ */ /* * Copyright (c) 2000-2003 Michael Shalayeff @@ -45,7 +45,7 @@ struct sti_rom { bus_addr_t *bases; struct sti_dd rom_dd; /* in word format */ - void *rom_code; + u_int8_t *rom_code; /* * ROM-provided function pointers