Index: test/cctest/test-log-stack-tracer.cc |
diff --git a/test/cctest/test-log-stack-tracer.cc b/test/cctest/test-log-stack-tracer.cc |
index 68cbc26191c1ed8628e0ea9999f70d16dadf3710..106ac991c1eb93f376d4c0eb49fea2197659043b 100644 |
--- a/test/cctest/test-log-stack-tracer.cc |
+++ b/test/cctest/test-log-stack-tracer.cc |
@@ -47,10 +47,10 @@ static void InitTraceEnv(TickSample* sample) { |
static void DoTrace(Address fp) { |
- trace_env.sample->fp = reinterpret_cast<uintptr_t>(fp); |
+ trace_env.sample->fp = fp; |
// sp is only used to define stack high bound |
trace_env.sample->sp = |
- reinterpret_cast<uintptr_t>(trace_env.sample) - 10240; |
+ reinterpret_cast<Address>(trace_env.sample) - 10240; |
StackTracer::Trace(trace_env.sample); |
} |