src/lib/io/utils_read_message.c:44:36: error: passing argument 2 of ‘limeReaderReadData’ from incompatible pointer type [-Wincompatible-pointer-types]
44 | status = ReaderReadData(*buffer, (MPI_Offset *)&bytesRead, reader);
| ^~~~~~~~~~~~~~~~~~~~~~~~
| |
| MPI_Offset * {aka long long int *}
In file included from lime-924aa0/install_dir/include/lime.h:9,
from src/lib/io/utils.ih:20,
from src/lib/io/utils_read_message.c:20:
lime-924aa0/install_dir/include/lime_reader.h:112:48: note: expected ‘n_uint64_t *’ {aka ‘long unsigned int *’} but argument is of type ‘MPI_Offset *’ {aka ‘long long int *’}
112 | int limeReaderReadData(void *dest, n_uint64_t *nbytes, LimeReader *r);
| ~~~~~~~~~~~~^~~~~~