From 8f0c1aa9fd0ce5d319af8590f3da4e11d36119ac Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 10 Apr 2019 04:17:38 +0000 Subject: change marks[] array to uint64_t, so the code can track full 64-bit details from the ELF header instead of faking it. Proposal from mlarkin, tested on most architectures already --- sys/arch/sgi/stand/boot/boot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/sgi/stand') diff --git a/sys/arch/sgi/stand/boot/boot.c b/sys/arch/sgi/stand/boot/boot.c index bccf7ad953d..1a5ec3be92a 100644 --- a/sys/arch/sgi/stand/boot/boot.c +++ b/sys/arch/sgi/stand/boot/boot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: boot.c,v 1.24 2014/02/22 20:27:21 miod Exp $ */ +/* $OpenBSD: boot.c,v 1.25 2019/04/10 04:17:36 deraadt Exp $ */ /* * Copyright (c) 2004 Opsycon AB, www.opsycon.se. @@ -68,7 +68,7 @@ char rnddata[BOOTRANDOM_MAX]; void boot_main(int argc, char *argv[]) { - u_long marks[MARK_MAX]; + uint64_t marks[MARK_MAX]; u_int64_t *esym; char line[1024]; u_long entry; -- cgit v1.2.3