diff options
| author | Ben Gamari <ben@smart-cactus.org> | 2021-07-25 14:57:09 -0400 |
|---|---|---|
| committer | Ben Gamari <ben@smart-cactus.org> | 2021-07-25 14:57:09 -0400 |
| commit | 28573b754f1fd034b03c169e31510812a9725d32 (patch) | |
| tree | 2a051facbdefd80967496b2153fa4e4066a7ab9f | |
| parent | 1832676aba0a5d75ac934a62eff55e35f95587d5 (diff) | |
| download | haskell-wip/T20160.tar.gz | |
rts: Fix inconsistent signatures for collect_pointerswip/T20160
Fixes #20160.
| -rw-r--r-- | includes/rts/storage/Heap.h | 2 |
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]); |
