Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/ia64/stand/ia64/ski ia64: Fix fallout from uint64 -...



details:   https://anonhg.NetBSD.org/src/rev/b270869c64ba
branches:  trunk
changeset: 369550:b270869c64ba
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Aug 21 10:30:36 2022 +0000

description:
ia64: Fix fallout from uint64 -> void * changes in efi.h.

diffstat:

 sys/arch/ia64/stand/ia64/ski/efi_stub.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (35 lines):

diff -r d9a31997c69d -r b270869c64ba sys/arch/ia64/stand/ia64/ski/efi_stub.c
--- a/sys/arch/ia64/stand/ia64/ski/efi_stub.c   Sun Aug 21 10:24:23 2022 +0000
+++ b/sys/arch/ia64/stand/ia64/ski/efi_stub.c   Sun Aug 21 10:30:36 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: efi_stub.c,v 1.5 2022/08/20 10:35:50 riastradh Exp $   */
+/*     $NetBSD: efi_stub.c,v 1.6 2022/08/21 10:30:36 riastradh Exp $   */
 
 /*-
  * Copyright (c) 2003,2004 Marcel Moolenaar
@@ -48,8 +48,8 @@
 extern void sal_stub_init(void);
 
 struct efi_cfgtbl efi_cfgtab[] = {
-       { EFI_TABLE_ACPI20,     (intptr_t)&acpi_root },
-       { EFI_TABLE_SAL,        (intptr_t)&sal_systab }
+       { EFI_TABLE_ACPI20,     &acpi_root },
+       { EFI_TABLE_SAL,        &sal_systab }
 };
 
 static efi_status GetTime(struct efi_tm *, struct efi_tmcap *);
@@ -115,12 +115,12 @@
        NULL, NULL,
 
        /* Services (runtime first). */
-       (intptr_t)&efi_rttab,
+       &efi_rttab,
        NULL,
 
        /* Configuration tables. */
        sizeof(efi_cfgtab)/sizeof(struct efi_cfgtbl),
-       (intptr_t)efi_cfgtab
+       efi_cfgtab
 };
 
 static efi_status



Home | Main Index | Thread Index | Old Index