From 32088afafb8764c4c55fc8399db80d9b69a0951f Mon Sep 17 00:00:00 2001 From: Pedro Gonnet <pedro.gonnet@durham.ac.uk> Date: Mon, 27 May 2013 23:07:45 +0000 Subject: [PATCH] typo. Former-commit-id: dccbf32f8adc3f9bd3c5b2616dcf9feae08ab51b --- src/space.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/space.c b/src/space.c index e779bc9dae..ba49a64c95 100644 --- a/src/space.c +++ b/src/space.c @@ -827,7 +827,7 @@ struct task *space_addtask ( struct space *s , int type , int subtype , int flag /* Add an index for it. */ // lock_lock( &s->lock ); - s->tasks_ind[ atomic_inc( s->nr_tasks ) ] = ind; + s->tasks_ind[ atomic_inc( &s->nr_tasks ) ] = ind; // lock_unlock_blind( &s->lock ); /* Return a pointer to the new task. */ -- GitLab