1
0
mirror of https://github.com/golang/go synced 2024-11-11 23:10:23 -07:00

runtime: slience warning on 32-bit platforms

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://golang.org/cl/80250043
This commit is contained in:
Mikio Hara 2014-03-26 10:21:22 +09:00
parent c5e7a02e80
commit 4ffa021965

View File

@ -803,7 +803,7 @@ playgcprog(uintptr offset, uintptr *prog, void (*callback)(void*,uintptr,uintptr
prog += 4;
break;
default:
runtime·printf("%D\n", prog[0]);
runtime·printf("%D\n", (uint64)prog[0]);
runtime·throw("bad gc op");
}
}