Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev build fix
details: https://anonhg.NetBSD.org/src/rev/fd413df521b7
branches: trunk
changeset: 984817:fd413df521b7
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sat Jul 24 22:33:23 2021 +0000
description:
build fix
diffstat:
sys/dev/smbios.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 55a8895bf742 -r fd413df521b7 sys/dev/smbios.c
--- a/sys/dev/smbios.c Sat Jul 24 22:30:59 2021 +0000
+++ b/sys/dev/smbios.c Sat Jul 24 22:33:23 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: smbios.c,v 1.2 2021/07/24 11:39:19 jmcneill Exp $ */
+/* $NetBSD: smbios.c,v 1.3 2021/07/24 22:33:23 jmcneill Exp $ */
/*
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -86,7 +86,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: smbios.c,v 1.2 2021/07/24 11:39:19 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: smbios.c,v 1.3 2021/07/24 22:33:23 jmcneill Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@@ -138,7 +138,7 @@
}
pmap_update(pmap_kernel());
- return (void *)(va + (pa - spa));
+ return (void *)(uintptr_t)(va + (pa - spa));
}
static void
Home |
Main Index |
Thread Index |
Old Index