1
0
mirror of https://github.com/golang/go synced 2024-11-22 18:44:54 -07:00

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
This commit is contained in:
Keith Randall 2014-04-04 08:15:27 -07:00
parent 3072df5c1d
commit 1daa2520bf

View File

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