krnl386.exe16: Add parentheses to clarify the precedence between '&' and '&&'.

This commit is contained in:
Francois Gouget 2011-09-11 23:19:20 +02:00 committed by Alexandre Julliard
parent 8f8760a1a5
commit f01888da59
1 changed files with 3 additions and 3 deletions

View File

@ -1013,17 +1013,17 @@ void DOSVM_outport( int port, int size, DWORD value )
{
if ( !(value & 0x20) )
{
if (value & 0x02 && !(tmr_8253[0].flags & TMR_LATCHED))
if ((value & 0x02) && !(tmr_8253[0].flags & TMR_LATCHED))
{
tmr_8253[0].flags |= TMR_LATCHED;
tmr_8253[0].latch = get_timer_val(0);
}
if (value & 0x04 && !(tmr_8253[1].flags & TMR_LATCHED))
if ((value & 0x04) && !(tmr_8253[1].flags & TMR_LATCHED))
{
tmr_8253[1].flags |= TMR_LATCHED;
tmr_8253[1].latch = get_timer_val(1);
}
if (value & 0x08 && !(tmr_8253[2].flags & TMR_LATCHED))
if ((value & 0x08) && !(tmr_8253[2].flags & TMR_LATCHED))
{
tmr_8253[2].flags |= TMR_LATCHED;
tmr_8253[2].latch = get_timer_val(2);