From e5159e6070456cff007e2a77dd241eb080a81395 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 25 May 2012 18:22:01 +0000 Subject: [PATCH] runtime: Fix cast error in print.c on 32-bit systems. From-SVN: r187889 --- libgo/runtime/print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgo/runtime/print.c b/libgo/runtime/print.c index 3eafeb7fe16..c24304e2487 100644 --- a/libgo/runtime/print.c +++ b/libgo/runtime/print.c @@ -136,7 +136,7 @@ void runtime_printpc(void *p __attribute__ ((unused))) { runtime_prints("PC="); - runtime_printhex((uint64)runtime_getcallerpc(p)); + runtime_printhex((uint64)(uintptr)runtime_getcallerpc(p)); } void -- 2.30.2