diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-05-25 18:22:01 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-05-25 18:22:01 +0000 |
commit | e5159e6070456cff007e2a77dd241eb080a81395 (patch) | |
tree | fceb4a99788ef3b0d786224d84a01bcccd2b639b | |
parent | b7d56bdfe99532da6a60aa6e958a5022e3848ecd (diff) | |
download | gcc-e5159e6070456cff007e2a77dd241eb080a81395.zip gcc-e5159e6070456cff007e2a77dd241eb080a81395.tar.gz gcc-e5159e6070456cff007e2a77dd241eb080a81395.tar.bz2 |
runtime: Fix cast error in print.c on 32-bit systems.
From-SVN: r187889
-rw-r--r-- | libgo/runtime/print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/runtime/print.c b/libgo/runtime/print.c index 3eafeb7..c24304e 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 |