Skip to content

Commit

Permalink
cast address as C long long (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
astraw authored Oct 31, 2021
1 parent e4eca39 commit 58e3bc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python-codec.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ static PyObject *py_hdr_decode(PyObject *self, PyObject *args) {
int64_t min_nonzero_index = -1;
int64_t max_nonzero_index = 0;

if (!PyArg_ParseTuple(args, "s#ilii", &src, &src_len,
if (!PyArg_ParseTuple(args, "s#iLii", &src, &src_len,
&read_index,
&vdst, &max_index,
&word_size)) {
Expand Down

0 comments on commit 58e3bc2

Please sign in to comment.