Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/linux/common make it compile on alpha. cast poin...
details: https://anonhg.NetBSD.org/src/rev/5445ed85c023
branches: trunk
changeset: 503383:5445ed85c023
user: itojun <itojun%NetBSD.org@localhost>
date: Mon Feb 05 04:33:41 2001 +0000
description:
make it compile on alpha. cast pointer to u_long, not int
diffstat:
sys/compat/linux/common/linux_termios.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 15d3e2e3a6e4 -r 5445ed85c023 sys/compat/linux/common/linux_termios.c
--- a/sys/compat/linux/common/linux_termios.c Mon Feb 05 04:16:52 2001 +0000
+++ b/sys/compat/linux/common/linux_termios.c Mon Feb 05 04:33:41 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_termios.c,v 1.9 2001/02/03 19:01:29 ross Exp $ */
+/* $NetBSD: linux_termios.c,v 1.10 2001/02/05 04:33:41 itojun Exp $ */
/*-
* Copyright (c) 1995, 1998 The NetBSD Foundation, Inc.
@@ -555,7 +555,7 @@
return error;
return 0;
case LINUX_TCFLSH:
- switch((int)SCARG(uap, data)) {
+ switch((u_long)SCARG(uap, data)) {
case 0:
idat = FREAD;
break;
Home |
Main Index |
Thread Index |
Old Index