Skip to content

Commit

Permalink
Change reallof by realloc
Browse files Browse the repository at this point in the history
  • Loading branch information
martaiborra committed Dec 21, 2023
1 parent 9161729 commit 1ccd81e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blosc/b2nd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,7 @@ int b2nd_get_slice_nchunks(b2nd_array_t *array, const int64_t *start, const int6
}

if (nchunks < array->sc->nchunks) {
*chunks_idx = reallocf(ptr, nchunks * sizeof(int64_t));
*chunks_idx = realloc(ptr, nchunks * sizeof(int64_t));
}

return nchunks;
Expand Down

0 comments on commit 1ccd81e

Please sign in to comment.