diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2017-06-22 19:52:11 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2017-06-22 19:52:11 +0000 |
commit | 61fbdfbe1b1efc68dd02f03b0d915dc2ded0e076 (patch) | |
tree | 5e8a25eabda4d8be4444c8285add6af735966dcc | |
parent | 60edf8bbba843187e6b4700f41707bb9dd9cec14 (diff) | |
download | gcc-61fbdfbe1b1efc68dd02f03b0d915dc2ded0e076.zip gcc-61fbdfbe1b1efc68dd02f03b0d915dc2ded0e076.tar.gz gcc-61fbdfbe1b1efc68dd02f03b0d915dc2ded0e076.tar.bz2 |
runtime: fix type cast in assignment to gcnextsp in C code
Patch from Rainer Orth.
Reviewed-on: https://go-review.googlesource.com/46459
From-SVN: r249575
-rw-r--r-- | gcc/go/gofrontend/MERGE | 2 | ||||
-rw-r--r-- | libgo/runtime/proc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index ccc7919..e3fcdb8 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -1,4 +1,4 @@ -681c8a7b0a9d52c0b81e7a4b1c55fe65ed889573 +27204e41643f4549c5ed97d48e17912f64c0aa71 The first line of this file holds the git revision number of the last merge done from the gofrontend repository. diff --git a/libgo/runtime/proc.c b/libgo/runtime/proc.c index 303a1b5..1272669 100644 --- a/libgo/runtime/proc.c +++ b/libgo/runtime/proc.c @@ -678,7 +678,7 @@ doentersyscallblock(uintptr pc, uintptr sp) { void *v; - g->gcnextsp = (byte *) &v; + g->gcnextsp = (uintptr)(&v); } #endif |