Commit f01888da authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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

parent 8f8760a1
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment