[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
warning question
- Date: Wed, 6 May 2009 10:49:28 -0500
- From: joel.sherrill at OARcorp.com (Joel Sherrill)
- Subject: warning question
Hi,
I am looking at warnings and wondered if someone
could figured this one out.
c/src/libchip/network/i82586.c:1722: warning: suggest parentheses around
operand of '!' or change '|' to '||' or '!' to '~'
The code is clearly questionable IMO. ;)
*IE_CMD_CFG_PROMISC(buf) = !!promiscuous | manchester << 2;
Hopefully someone can help out.
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985