Skip to content
Snippets Groups Projects
Commit 3d90132f authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

the offset in the part array should be a size_t.

parent 12479cbf
No related branches found
No related tags found
2 merge requests!136Master,!117Engine exchange strays
......@@ -604,7 +604,7 @@ void engine_exchange_cells(struct engine *e) {
* @return The number of arrived parts copied to parts and xparts.
*/
int engine_exchange_strays(struct engine *e, int offset, int *ind, size_t N) {
int engine_exchange_strays(struct engine *e, size_t offset, int *ind, size_t N) {
#ifdef WITH_MPI
......
......@@ -182,7 +182,7 @@ void engine_init_particles(struct engine *e);
void engine_step(struct engine *e);
void engine_maketasks(struct engine *e);
void engine_split(struct engine *e, struct partition *initial_partition);
int engine_exchange_strays(struct engine *e, int offset, int *ind, size_t N);
int engine_exchange_strays(struct engine *e, size_t offset, int *ind, size_t N);
void engine_rebuild(struct engine *e);
void engine_repartition(struct engine *e);
void engine_makeproxies(struct engine *e);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment