Commit 4ffa0219 authored by Mikio Hara's avatar Mikio Hara

runtime: slience warning on 32-bit platforms

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://golang.org/cl/80250043
parent c5e7a02e
...@@ -803,7 +803,7 @@ playgcprog(uintptr offset, uintptr *prog, void (*callback)(void*,uintptr,uintptr ...@@ -803,7 +803,7 @@ playgcprog(uintptr offset, uintptr *prog, void (*callback)(void*,uintptr,uintptr
prog += 4; prog += 4;
break; break;
default: default:
runtime·printf("%D\n", prog[0]); runtime·printf("%D\n", (uint64)prog[0]);
runtime·throw("bad gc op"); runtime·throw("bad gc op");
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment