Skip to content

Commit

Permalink
[C] Tidy up after merge of PR #1089.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjpt777 committed Nov 17, 2020
1 parent b8ede28 commit 223fd94
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions aeron-driver/src/main/c/media/aeron_udp_transport_poller.c
Expand Up @@ -16,9 +16,7 @@

#include "util/aeron_platform.h"

#if defined(AERON_COMPILER_MSVC)
#include <io.h>
#else
#if !defined(AERON_COMPILER_MSVC)
#include <unistd.h>
#endif

Expand Down Expand Up @@ -84,7 +82,7 @@ int aeron_udp_transport_poller_add(aeron_udp_transport_poller_t *poller, aeron_u
if (new_capacity > old_capacity)
{
if (aeron_array_ensure_capacity(
(uint8_t **) &poller->bindings_clientd, sizeof(struct epoll_event), old_capacity, new_capacity) < 0)
(uint8_t **)&poller->bindings_clientd, sizeof(struct epoll_event), old_capacity, new_capacity) < 0)
{
return -1;
}
Expand Down

0 comments on commit 223fd94

Please sign in to comment.