summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/rts/storage/Heap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/rts/storage/Heap.h b/includes/rts/storage/Heap.h
index 7a35941656..b950df76e5 100644
--- a/includes/rts/storage/Heap.h
+++ b/includes/rts/storage/Heap.h
@@ -24,4 +24,4 @@ StgWord heap_view_closureSize(StgClosure *closure);
* The caller must ensure that `closure` is not modified (or moved by the GC)
* for the duration of the call to `collect_pointers`.
*/
-StgWord collect_pointers(StgClosure *closure, StgWord size, StgClosure *ptrs[]);
+StgWord collect_pointers(StgClosure *closure, StgWord size, StgClosure *ptrs[size]);