Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/vax/vax use (volatile int) cast, rather than just (...
details: https://anonhg.NetBSD.org/src/rev/dbd05dec636c
branches: trunk
changeset: 538037:dbd05dec636c
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Thu Oct 10 11:45:14 2002 +0000
description:
use (volatile int) cast, rather than just (volatile); the latter gives a warning
diffstat:
sys/arch/vax/vax/ka820.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 35ccf947f668 -r dbd05dec636c sys/arch/vax/vax/ka820.c
--- a/sys/arch/vax/vax/ka820.c Thu Oct 10 11:15:41 2002 +0000
+++ b/sys/arch/vax/vax/ka820.c Thu Oct 10 11:45:14 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ka820.c,v 1.34 2002/10/02 16:02:35 thorpej Exp $ */
+/* $NetBSD: ka820.c,v 1.35 2002/10/10 11:45:14 jdolecek Exp $ */
/*
* Copyright (c) 1988 Regents of the University of California.
* All rights reserved.
@@ -567,7 +567,7 @@
ka820_txrx(id, "S %x\r", (int)&tramp); /* Start! */
expect = 0;
for (i = 0; i < 10000; i++)
- if ((volatile)ci->ci_flags & CI_RUNNING)
+ if ((volatile int)ci->ci_flags & CI_RUNNING)
break;
if (i == 10000)
printf("%s: (ID %d) failed starting??!!??\n",
Home |
Main Index |
Thread Index |
Old Index