commit | 27204e41643f4549c5ed97d48e17912f64c0aa71 | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Thu Jun 22 12:50:14 2017 -0700 |
committer | Ian Lance Taylor <iant@golang.org> | Thu Jun 22 19:51:39 2017 +0000 |
tree | f6b8966f1d839a99ed702337b1540e2751e3c6cc | |
parent | 681c8a7b0a9d52c0b81e7a4b1c55fe65ed889573 [diff] |
runtime: fix type cast in assignment to gcnextsp in C code Patch from Rainer Orth. Change-Id: I39d094aeb0063e1b9c08dcc20404ee41fe0c741f Reviewed-on: https://go-review.googlesource.com/46459 Reviewed-by: Ian Lance Taylor <iant@golang.org>
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 @@ { void *v; - g->gcnextsp = (byte *) &v; + g->gcnextsp = (uintptr)(&v); } #endif