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 3f9d0b364a5682f0688b18f5ea7f71a97122155a..334a2010532bd3373b7547ede2ff4142ea7988e7 100644 |
--- a/test/cctest/test-log-stack-tracer.cc |
+++ b/test/cctest/test-log-stack-tracer.cc |
@@ -172,7 +172,7 @@ TEST(CFromJSStackTrace) { |
CHECK_EQ(FUNCTION_ADDR(i::TraceExtension::Trace), sample.external_callback); |
// Stack tracing will start from the first JS function, i.e. "JSFuncDoTrace" |
- int base = 0; |
+ unsigned base = 0; |
CHECK_GT(sample.frames_count, base + 1); |
CHECK(IsAddressWithinFuncCode( |
@@ -225,7 +225,7 @@ TEST(PureJSStackTrace) { |
CHECK_EQ(FUNCTION_ADDR(i::TraceExtension::JSTrace), sample.external_callback); |
// Stack sampling will start from the caller of JSFuncDoTrace, i.e. "JSTrace" |
- int base = 0; |
+ unsigned base = 0; |
CHECK_GT(sample.frames_count, base + 1); |
CHECK(IsAddressWithinFuncCode(context, "JSTrace", sample.stack[base + 0])); |
CHECK(IsAddressWithinFuncCode( |