Skip to content

Commit

Permalink
Fix int64 type.
Browse files Browse the repository at this point in the history
  • Loading branch information
cannadayr committed May 16, 2024
1 parent 8214ba5 commit b905e4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c_src/beamqn_nif.c
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ bool beamqn_make_bqnv_from_float(ErlNifEnv *env, ERL_NIF_TERM term, BQNV *bqnv)

bool beamqn_make_bqnv_from_integer(ErlNifEnv*, ERL_NIF_TERM, BQNV*);
bool beamqn_make_bqnv_from_integer(ErlNifEnv *env, ERL_NIF_TERM term, BQNV *bqnv) {
int64_t cval;
ErlNifSInt64 cval;
if (!enif_get_int64(env, term, &cval)) {
return false;
}
Expand Down

0 comments on commit b905e4b

Please sign in to comment.