diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2017-10-11 21:16:49 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2017-10-11 21:16:49 +0000 |
commit | 3ff1b2b0a91e25bf5b6499025a7c336a0b71b75f (patch) | |
tree | d8d689d283d005e340df4d2e9459f6f463c13390 /libgo/runtime/proc.c | |
parent | 07a5fe52c547185a5fc9ef5b0f205016c3ee35f3 (diff) | |
download | gcc-3ff1b2b0a91e25bf5b6499025a7c336a0b71b75f.zip gcc-3ff1b2b0a91e25bf5b6499025a7c336a0b71b75f.tar.gz gcc-3ff1b2b0a91e25bf5b6499025a7c336a0b71b75f.tar.bz2 |
runtime: fix issues on AIX about uintptr(_t)
Reviewed-on: https://go-review.googlesource.com/69891
From-SVN: r253664
Diffstat (limited to 'libgo/runtime/proc.c')
-rw-r--r-- | libgo/runtime/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/runtime/proc.c b/libgo/runtime/proc.c index e591824..d6e42e6 100644 --- a/libgo/runtime/proc.c +++ b/libgo/runtime/proc.c @@ -179,7 +179,7 @@ fixcontext(ucontext_t* c) // So we make the field larger in runtime2.go and pick an appropriate // offset within the field here. static ucontext_t* -ucontext_arg(uintptr* go_ucontext) +ucontext_arg(uintptr_t* go_ucontext) { uintptr_t p = (uintptr_t)go_ucontext; size_t align = __alignof__(ucontext_t); |