runtime: Fix cast error in print.c on 32-bit systems.

From-SVN: r187890
This commit is contained in:
Ian Lance Taylor 2012-05-25 18:22:14 +00:00
parent d36df21938
commit fd65b0247c
1 changed files with 1 additions and 1 deletions

View File

@ -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