diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-02-28 17:43:43 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-02-28 17:43:43 +0000 |
commit | 154b49cdc6e6afa5e55d74887987d0b14fda6eb0 (patch) | |
tree | f89bd33b400cf663db72130c6b81d94f47aba71d /libgcc/generic-morestack.c | |
parent | 042a76cfb348780f5efd9ae86318ddeaf7be8fc2 (diff) |
* generic-morestack.c (__splitstack_releasecontext): Correct call
to __morestack_release_segments.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184634 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/generic-morestack.c')
-rw-r--r-- | libgcc/generic-morestack.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libgcc/generic-morestack.c b/libgcc/generic-morestack.c index 6182a379558..fad3d9b02a3 100644 --- a/libgcc/generic-morestack.c +++ b/libgcc/generic-morestack.c @@ -1104,7 +1104,9 @@ __splitstack_resetcontext (void *context[10], size_t *size) void __splitstack_releasecontext (void *context[10]) { - __morestack_release_segments (context[MORESTACK_SEGMENTS], 1); + __morestack_release_segments (((struct stack_segment **) + &context[MORESTACK_SEGMENTS]), + 1); } /* Like __splitstack_block_signals, but operating on CONTEXT, rather |