diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-02-28 17:43:43 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-02-28 17:43:43 +0000 |
commit | e9e053ebfdc29e3d51d3e3dbe19e8c91c1f96e23 (patch) | |
tree | f89bd33b400cf663db72130c6b81d94f47aba71d /libgcc/generic-morestack.c | |
parent | cdbfc61de4bf022fdccc3de4fc9c48c1ffda36c9 (diff) | |
download | gcc-e9e053ebfdc29e3d51d3e3dbe19e8c91c1f96e23.tar.gz |
generic-morestack.c (__splitstack_releasecontext): Correct call to __morestack_release_segments.
* generic-morestack.c (__splitstack_releasecontext): Correct call
to __morestack_release_segments.
From-SVN: r184634
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 |