diff options
author | dillon <dillon@FreeBSD.org> | 1999-01-27 22:16:15 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1999-01-27 22:16:15 +0000 |
commit | a0938eeb797fa654fdcb29b3e11edcadc845e85c (patch) | |
tree | e46e4723c51264d2d522f6119fb1c7517865cbf6 /sys/netatm | |
parent | a40e0249d4e2495009cf3fb552bc428d0a8a8676 (diff) | |
download | FreeBSD-src-a0938eeb797fa654fdcb29b3e11edcadc845e85c.zip FreeBSD-src-a0938eeb797fa654fdcb29b3e11edcadc845e85c.tar.gz |
Fix warnings in preparation for adding -Wall -Wcast-qual to the
kernel compile
Diffstat (limited to 'sys/netatm')
-rw-r--r-- | sys/netatm/atm_cm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netatm/atm_cm.c b/sys/netatm/atm_cm.c index 6ae42e8..51ea35b 100644 --- a/sys/netatm/atm_cm.c +++ b/sys/netatm/atm_cm.c @@ -23,7 +23,7 @@ * Copies of this Software may be made, however, the above copyright * notice must be reproduced on all copies. * - * @(#) $Id: atm_cm.c,v 1.2 1998/09/17 09:34:59 phk Exp $ + * @(#) $Id: atm_cm.c,v 1.3 1998/10/31 20:06:54 phk Exp $ * */ @@ -38,7 +38,7 @@ #include <netatm/kern_include.h> #ifndef lint -__RCSID("@(#) $Id: atm_cm.c,v 1.2 1998/09/17 09:34:59 phk Exp $"); +__RCSID("@(#) $Id: atm_cm.c,v 1.3 1998/10/31 20:06:54 phk Exp $"); #endif @@ -996,7 +996,7 @@ atm_cm_release(cop, cause) /* * Check out the VCC state too */ - if (cvp = cop->co_connvc) { + if ((cvp = cop->co_connvc) != NULL) { switch (cvp->cvc_state) { @@ -1404,7 +1404,7 @@ atm_cm_connected(cvp) /* * Input any queued packets */ - while (m = cvp->cvc_rcvq) { + while ((m = cvp->cvc_rcvq) != NULL) { cvp->cvc_rcvq = KB_QNEXT(m); cvp->cvc_rcvqlen--; KB_QNEXT(m) = NULL; @@ -1562,7 +1562,7 @@ atm_cm_incall(cvp) /* * Look for matching listeners */ - while (lcop = atm_cm_match(&attr, lcop)) { + while ((lcop = atm_cm_match(&attr, lcop)) != NULL) { if (cop == NULL) { /* |