aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/runtime')
-rw-r--r--src/pkg/runtime/heapdump.c2
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");
}
}