AMMediaboard: Fix sequence-point warning
This commit is contained in:
1 parent
67f1afeb74
commit
be0fdd85b9
1 file changed
+1
-1
@@ -261,7 +261,7 @@ static GuestSocket GetAvailableGuestSocket()
|
|||||||
while (count--)
|
while (count--)
|
||||||
{
|
{
|
||||||
const u32 i = s_next_valid_fd;
|
const u32 i = s_next_valid_fd;
|
||||||
s_next_valid_fd = ++s_next_valid_fd % std::size(s_sockets);
|
s_next_valid_fd = (s_next_valid_fd + 1) % std::size(s_sockets);
|
||||||
if (i < FIRST_VALID_FD)
|
if (i < FIRST_VALID_FD)
|
||||||
continue;
|
continue;
|
||||||
if (s_sockets[i] == SOCKET_ERROR)
|
if (s_sockets[i] == SOCKET_ERROR)
|
||||||
|
|||||||
Reference in new issue
Block a user