Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/acpi Cast to same type as parameter. NFCI.
details: https://anonhg.NetBSD.org/src/rev/70a20b64de5d
branches: trunk
changeset: 449198:70a20b64de5d
user: mlelstv <mlelstv%NetBSD.org@localhost>
date: Tue Feb 26 06:15:55 2019 +0000
description:
Cast to same type as parameter. NFCI.
diffstat:
sys/dev/acpi/com_acpi.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 7169b1da80a3 -r 70a20b64de5d sys/dev/acpi/com_acpi.c
--- a/sys/dev/acpi/com_acpi.c Tue Feb 26 05:26:10 2019 +0000
+++ b/sys/dev/acpi/com_acpi.c Tue Feb 26 06:15:55 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: com_acpi.c,v 1.38 2018/12/24 17:44:40 christos Exp $ */
+/* $NetBSD: com_acpi.c,v 1.39 2019/02/26 06:15:55 mlelstv Exp $ */
/*
* Copyright (c) 2002 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: com_acpi.c,v 1.38 2018/12/24 17:44:40 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: com_acpi.c,v 1.39 2019/02/26 06:15:55 mlelstv Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -174,7 +174,7 @@
if (!ISSET(sc->sc_hwflags, COM_HW_POLL))
asc->sc_ih = acpi_intr_establish(self,
- (intptr_t)aa->aa_node->ad_handle,
+ (uint64_t)aa->aa_node->ad_handle,
IPL_SERIAL, true, comintr, sc, device_xname(self));
if (!pmf_device_register(self, NULL, com_resume))
Home |
Main Index |
Thread Index |
Old Index