Skip to content

Commit 956000b

Browse files
committed
Fix compilation warning on recent gcc
1 parent ec75aa5 commit 956000b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

c_src/fxml_stream.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1076,7 +1076,7 @@ static ERL_NIF_TERM new_nif(ErlNifEnv* env, int argc,
10761076

10771077
ErlNifUInt64 max_size, max_elements;
10781078
int arity;
1079-
ERL_NIF_TERM *tuple_elements;
1079+
const ERL_NIF_TERM *tuple_elements;
10801080
if (enif_get_uint64(env, argv[1], &max_size)) {
10811081
state->max_size = (size_t) max_size;
10821082
state->max_elements = LIMIT_MAX;

0 commit comments

Comments
 (0)