From 31dca97353516fd862d535d12cf4c66a865da9ed Mon Sep 17 00:00:00 2001 From: "Peter W. Draper" <p.w.draper@durham.ac.uk> Date: Wed, 15 May 2019 11:17:52 +0100 Subject: [PATCH] Don't pass the address of the address, just the address will do --- src/space.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/space.c b/src/space.c index c54aacc706..3ff86f439d 100644 --- a/src/space.c +++ b/src/space.c @@ -4366,7 +4366,7 @@ void space_init_parts(struct space *s, int verbose) { if (s->nr_parts > 0) threadpool_map(&s->e->threadpool, space_init_parts_mapper, s->parts, - s->nr_parts, sizeof(struct part), 0, &s->e); + s->nr_parts, sizeof(struct part), 0, s->e); if (verbose) message("took %.3f %s.", clocks_from_ticks(getticks() - tic), clocks_getunit()); -- GitLab