Skip to content

Commit

Permalink
build with gcc 14 (#838)
Browse files Browse the repository at this point in the history
* build with gcc 14
* get ziti-sdk-c 0.36.12 for gcc 14 compatibility
  • Loading branch information
scareything committed Apr 29, 2024
1 parent 5df8bc2 commit 2c115c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.20)


set(ZITI_SDK_DIR "" CACHE FILEPATH "developer option: use local ziti-sdk-c checkout")
set(ZITI_SDK_VERSION "0.36.11" CACHE STRING "ziti-sdk-c version or branch to use")
set(ZITI_SDK_VERSION "0.36.12" CACHE STRING "ziti-sdk-c version or branch to use")

# if TUNNEL_SDK_ONLY then don't descend into programs/ziti-edge-tunnel
option(TUNNEL_SDK_ONLY "build only ziti-tunnel-sdk (without ziti)" OFF)
Expand Down
2 changes: 1 addition & 1 deletion lib/ziti-tunnel/ziti_tunnel.c
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ static void run_packet_loop(uv_loop_t *loop, tunneler_context tnlr_ctx) {
}

uv_timer_init(loop, &tnlr_ctx->lwip_timer_req);
uv_unref(&tnlr_ctx->lwip_timer_req);
uv_unref((uv_handle_t *) &tnlr_ctx->lwip_timer_req);
uv_timer_start(&tnlr_ctx->lwip_timer_req, check_lwip_timeouts, 0, 10);
}

Expand Down

0 comments on commit 2c115c6

Please sign in to comment.