Commit e5159e60 by Ian Lance Taylor

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

From-SVN: r187889
parent b7d56bdf
...@@ -136,7 +136,7 @@ void ...@@ -136,7 +136,7 @@ void
runtime_printpc(void *p __attribute__ ((unused))) runtime_printpc(void *p __attribute__ ((unused)))
{ {
runtime_prints("PC="); runtime_prints("PC=");
runtime_printhex((uint64)runtime_getcallerpc(p)); runtime_printhex((uint64)(uintptr)runtime_getcallerpc(p));
} }
void void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment