diff options
author | Ben Gamari <ben@smart-cactus.org> | 2021-07-25 14:57:09 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-07-27 04:49:36 -0400 |
commit | 229b4e51bae070058e8ec30415955f7cec47c798 (patch) | |
tree | 0c17cc1c441903424fd29f4704a0841150203e8b | |
parent | 0090517a8fccc0d6605e4b6d3d95568d91201d72 (diff) | |
download | haskell-229b4e51bae070058e8ec30415955f7cec47c798.tar.gz |
rts: Fix inconsistent signatures for collect_pointers
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]); |