From: Keith Randall Date: Fri, 4 Apr 2014 15:15:27 +0000 (-0700) Subject: runtime: fix plan9 warning. X-Git-Tag: go1.3beta1~182 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1daa2520bfc1b77a2d40c62133c9e4b666fcaee3;p=gostls13.git runtime: fix plan9 warning. I have no idea what this code is for, but it pretty clearly needs to be uint64, not uint32. LGTM=aram R=0intro, aram CC=golang-codereviews https://golang.org/cl/84410043 --- diff --git a/src/pkg/runtime/os_plan9_amd64.c b/src/pkg/runtime/os_plan9_amd64.c index b497056c67..a4e5ba8194 100644 --- a/src/pkg/runtime/os_plan9_amd64.c +++ b/src/pkg/runtime/os_plan9_amd64.c @@ -95,7 +95,7 @@ runtime·sighandler(void *v, int8 *note, G *gp) if(ureg->ip != 0) { sp = (uintptr*)ureg->sp; *--sp = ureg->ip; - ureg->sp = (uint32)sp; + ureg->sp = (uint64)sp; } ureg->ip = (uintptr)runtime·sigpanic; return NCONT;