diff options
-rw-r--r-- | rts/parallel/WSDeque.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/parallel/WSDeque.c b/rts/parallel/WSDeque.c index e7fd58ae92..6dfabd927a 100644 --- a/rts/parallel/WSDeque.c +++ b/rts/parallel/WSDeque.c @@ -275,7 +275,7 @@ pushWSDeque (WSDeque* q, void * elem) } pos = (q->elements) + (b & sz); *pos = elem; - (q->bottom)++; + q->bottom = b + 1; ASSERT_WSDEQUE_INVARIANTS(q); return rtsTrue; |