Revision: 23317
Author:   [email protected]
Date:     Fri Aug 22 13:41:29 2014 UTC
Log:      Fix build after r23316.

[email protected]

Review URL: https://codereview.chromium.org/497073002
https://code.google.com/p/v8/source/detail?r=23317

Modified:
 /branches/bleeding_edge/test/heap-unittests/heap-unittest.cc

=======================================
--- /branches/bleeding_edge/test/heap-unittests/heap-unittest.cc Fri Aug 22 13:26:29 2014 UTC +++ /branches/bleeding_edge/test/heap-unittests/heap-unittest.cc Fri Aug 22 13:41:29 2014 UTC
@@ -107,7 +107,8 @@
   int idle_time_ms = 10;
   GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state);
   EXPECT_EQ(DO_INCREMENTAL_MARKING, action.type);
-  EXPECT_GT(speed * idle_time_ms, action.parameter);
+  EXPECT_GT(speed * static_cast<size_t>(idle_time_ms),
+            static_cast<size_t>(action.parameter));
   EXPECT_LT(0, action.parameter);
 }

@@ -119,7 +120,8 @@
   int idle_time_ms = 10;
   GCIdleTimeAction action = handler()->Compute(idle_time_ms, heap_state);
   EXPECT_EQ(DO_INCREMENTAL_MARKING, action.type);
-  EXPECT_GT(speed * idle_time_ms, action.parameter);
+  EXPECT_GT(speed * static_cast<size_t>(idle_time_ms),
+            static_cast<size_t>(action.parameter));
   EXPECT_LT(0, action.parameter);
 }

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to