10-03-2010, 01:03 PM
I do not understand how Rule 12.6 influences type casting: it mainly forbids the mixture of Boolean and arithmetic expressions. However, since ANSI-C:1990 does not define a Boolean type, Booleans are represented by arithmetic types and are therefore subject to the rules 10.x.
<r>Gunter Blache<br/>
<br/>
ETAS GmbH<br/>
PSW<br/>
Global Operations<br/>
Borsigstraße 14<br/>
70469 Stuttgart<br/>
Phone +49 711 89661-159<br/>
Fax +49 711 89661-330<br/>
<br/>
<URL url="http://www.etasgroup.com">http://www.etasgroup.com</URL></r>
<br/>
ETAS GmbH<br/>
PSW<br/>
Global Operations<br/>
Borsigstraße 14<br/>
70469 Stuttgart<br/>
Phone +49 711 89661-159<br/>
Fax +49 711 89661-330<br/>
<br/>
<URL url="http://www.etasgroup.com">http://www.etasgroup.com</URL></r>