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

From-SVN: r187889
This commit is contained in:
Ian Lance Taylor 2012-05-25 18:22:01 +00:00
parent b7d56bdfe9
commit e5159e6070
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