summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2021-05-01 20:04:34 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2021-05-01 20:04:34 +0000
commitd87ce11cd445b42a0c9e520457634a2956fe3b97 (patch)
treea7b46d2060fcb0e1b46b3dbf20d41df926937375 /sys
parenta32031c9a52b5f5e7c16f77f90d6b816f7f53274 (diff)
Actually, that variable needs to be a u_int8_t pointer.
This is what was tested, but I forgot to commit a file.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/stivar.h4
1 files changed, 2 insertions, 2 deletions
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