Commit a04ce3c7 authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

fixed engine.c and engine.h.

parent fabeb932
......@@ -597,7 +597,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, int N) {
int engine_exchange_strays(struct engine *e, int offset, size_t *ind, size_t N) {
#ifdef WITH_MPI
......@@ -1180,7 +1180,7 @@ void engine_print(struct engine *e) {
printf(" %s=%i", taskID_names[k], counts[k]);
printf(" skipped=%i ]\n", counts[task_type_count]);
fflush(stdout);
message("nr_parts = %i.", e->s->nr_parts);
message("nr_parts = %zi.", e->s->nr_parts);
}
/**
......
......@@ -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, int N);
int engine_exchange_strays(struct engine *e, int offset, size_t *ind, size_t N);
void engine_rebuild(struct engine *e);
void engine_repartition(struct engine *e);
void engine_makeproxies(struct engine *e);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment