Skip to content

Commit

Permalink
allow successful builds with gcc 14 (#645)
Browse files Browse the repository at this point in the history
cast to placate gcc 14
  • Loading branch information
scareything committed Apr 26, 2024
1 parent c9993c3 commit d27bf2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/zitilib.c
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ static void load_ziti_ctx(void *arg, future_t *f, uv_loop_t *l) {
ziti_context Ziti_load_context(const char *identity) {
future_t *f = schedule_on_loop(load_ziti_ctx, (void *) identity, true);
ziti_context ztx;
int err = await_future(f, &ztx);
int err = await_future(f, (void **) &ztx);
set_error(err);
if (err == 0) {
ztx_wrap_t *wrap = ziti_app_ctx(ztx);
Expand Down

0 comments on commit d27bf2a

Please sign in to comment.