Skip to content

Commit

Permalink
64 bit address reads on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhrisca committed Dec 19, 2024
1 parent 99095d5 commit b97a173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/asammdf/blocks/cutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -2595,7 +2595,7 @@ static PyObject *get_channel_raw_bytes_complete_posix(PyObject *self, PyObject *

thread->block_info = &block_info[i];
buffer = (uint8_t *) malloc(block_info[i].compressed_size);
_fseeki64(fptr, block_info[i].address, 0);
fseeko(fptr, block_info[i].address, 0);
result = fread(buffer, 1, block_info[i].compressed_size, fptr);
thread->inptr = buffer;

Expand Down

0 comments on commit b97a173

Please sign in to comment.