Index: test/cctest/test-parsing.cc |
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc |
index 8018bae88e0f41b4607a95ef60b0b3b6250f40bb..7630dcd1a57517ff1fbb0969849d917447f411f4 100644 |
--- a/test/cctest/test-parsing.cc |
+++ b/test/cctest/test-parsing.cc |
@@ -696,7 +696,7 @@ TEST(Utf8CharacterStream) { |
int i = 0; |
while (stream.pos() < kMaxUC16CharU) { |
CHECK_EQU(i, stream.pos()); |
- unsigned progress = stream.SeekForward(12); |
+ int progress = static_cast<int>(stream.SeekForward(12)); |
i += progress; |
int32_t c = stream.Advance(); |
if (i <= kMaxUC16Char) { |