diff options
| author | Mikio Hara <mikioh.mikioh@gmail.com> | 2014-03-26 10:21:22 +0900 |
|---|---|---|
| committer | Mikio Hara <mikioh.mikioh@gmail.com> | 2014-03-26 10:21:22 +0900 |
| commit | 4ffa021965ac5a307cee497feefc834b2a1e041e (patch) | |
| tree | d905095e152703f56414cc2045f82a26b348cabf /src/pkg/runtime/heapdump.c | |
| parent | c5e7a02e805828e786d357aa96f2aa3105835a0f (diff) | |
| download | go-4ffa021965ac5a307cee497feefc834b2a1e041e.tar.xz | |
runtime: slience warning on 32-bit platforms
LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://golang.org/cl/80250043
Diffstat (limited to 'src/pkg/runtime/heapdump.c')
| -rw-r--r-- | src/pkg/runtime/heapdump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/heapdump.c b/src/pkg/runtime/heapdump.c index db0178eb65..bc0fd49c0a 100644 --- a/src/pkg/runtime/heapdump.c +++ b/src/pkg/runtime/heapdump.c @@ -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"); } } |
