runtime: fix issues on AIX about uintptr(_t)

Reviewed-on: https://go-review.googlesource.com/69891

From-SVN: r253664
This commit is contained in:
Ian Lance Taylor 2017-10-11 21:16:49 +00:00
parent 07a5fe52c5
commit 3ff1b2b0a9
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
adc6eb826f156d0980f0ad9f9efc5c919ec4905e
af46ad16dc34773877068393d331ac8ae34b2219
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.

View File

@ -159,7 +159,7 @@ syminfo_callback (void *data, uintptr_t pc __attribute__ ((unused)),
/* Set *VAL to the value of the symbol for PC. */
static _Bool
__go_symbol_value (uintptr_t pc, uintptr_t *val)
__go_symbol_value (uintptr pc, uintptr *val)
{
*val = 0;
backtrace_syminfo (__go_get_backtrace_state (), pc, syminfo_callback,

View File

@ -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);