From 1daa2520bfc1b77a2d40c62133c9e4b666fcaee3 Mon Sep 17 00:00:00 2001 From: Keith Randall Date: Fri, 4 Apr 2014 08:15:27 -0700 Subject: [PATCH] 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 --- src/pkg/runtime/os_plan9_amd64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.50.0