Commit 2cbb6f33 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

audio: Remove extraneous parentheses around equality comparisons.

parent 83437818
......@@ -562,7 +562,7 @@ static int ESD_AddRingMessage(ESD_MSG_RING* mr, enum win_wm_message msg, DWORD p
HANDLE hEvent = INVALID_HANDLE_VALUE;
EnterCriticalSection(&mr->msg_crst);
if ((mr->msg_toget == ((mr->msg_tosave + 1) % mr->ring_buffer_size)))
if (mr->msg_toget == ((mr->msg_tosave + 1) % mr->ring_buffer_size))
{
int old_ring_buffer_size = mr->ring_buffer_size;
mr->ring_buffer_size += ESD_RING_BUFFER_INCREMENT;
......
......@@ -488,7 +488,7 @@ static int NAS_AddRingMessage(MSG_RING* mr, enum win_wm_message msg, DWORD param
HANDLE hEvent = INVALID_HANDLE_VALUE;
EnterCriticalSection(&mr->msg_crst);
if ((mr->msg_toget == ((mr->msg_tosave + 1) % mr->ring_buffer_size)))
if (mr->msg_toget == ((mr->msg_tosave + 1) % mr->ring_buffer_size))
{
int old_ring_buffer_size = mr->ring_buffer_size;
mr->ring_buffer_size += NAS_RING_BUFFER_INCREMENT;
......
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