Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/alpha/include fix types.
details: https://anonhg.NetBSD.org/src/rev/c5d8d3f6679e
branches: trunk
changeset: 350586:c5d8d3f6679e
user: christos <christos%NetBSD.org@localhost>
date: Sat Jan 14 00:35:37 2017 +0000
description:
fix types.
diffstat:
sys/arch/alpha/include/intr.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r b63ad91d4f6a -r c5d8d3f6679e sys/arch/alpha/include/intr.h
--- a/sys/arch/alpha/include/intr.h Sat Jan 14 00:33:19 2017 +0000
+++ b/sys/arch/alpha/include/intr.h Sat Jan 14 00:35:37 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intr.h,v 1.71 2014/05/19 22:47:53 rmind Exp $ */
+/* $NetBSD: intr.h,v 1.72 2017/01/14 00:35:37 christos Exp $ */
/*-
* Copyright (c) 2000, 2001, 2002 The NetBSD Foundation, Inc.
@@ -147,7 +147,7 @@
_splraise(int s)
{
int cur = alpha_pal_rdps() & ALPHA_PSL_IPL_MASK;
- return (s > cur ? alpha_pal_swpipl(s) : cur);
+ return (s > cur ? (int)alpha_pal_swpipl(s) : cur);
}
#define splraiseipl(icookie) _splraise((icookie)._psl)
Home |
Main Index |
Thread Index |
Old Index