Skip to content

Commit

Permalink
Fix: gcc-14 point type checking error (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
CesarRoaldes authored and semigodking committed Nov 5, 2024
1 parent 2ca4052 commit 3c1f0a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ struct bufferevent* red_connect_relay_ssl(const char *ifname,
if (timeout_write)
bufferevent_set_timeouts(underlying, NULL, timeout_write);

error = connect(relay_fd, addr, addr_size(addr));
error = connect(relay_fd, (struct sockaddr *)addr, addr_size(addr));
if (error && errno != EINPROGRESS) {
log_errno(LOG_NOTICE, "connect");
goto fail;
Expand Down

0 comments on commit 3c1f0a9

Please sign in to comment.