Skip to content

Commit

Permalink
Fix windows compile
Browse files Browse the repository at this point in the history
  • Loading branch information
garazdawi committed Feb 6, 2025
1 parent 58bb9fc commit f6f6a43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions erts/emulator/nifs/common/zstd_nif.c
Original file line number Diff line number Diff line change
Expand Up @@ -967,10 +967,10 @@ static ERL_NIF_TERM get_frame_header_nif(
}

static int load(ErlNifEnv *env, void **priv_data, ERL_NIF_TERM arg) {
ErlNifResourceTypeInit callbacks = {};
ErlNifResourceTypeInit callbacks;

memset(&callbacks, 0, sizeof(callbacks));

callbacks.down = NULL;
callbacks.stop = NULL;
callbacks.members = 3;

callbacks.dtor = compress_context_dtor;
Expand Down

0 comments on commit f6f6a43

Please sign in to comment.