Quick un-reviewed fix for build problem on arm
authorchristian.plesner.hansen@gmail.com <christian.plesner.hansen@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Sat, 6 Sep 2008 10:51:33 +0000 (10:51 +0000)
committerchristian.plesner.hansen@gmail.com <christian.plesner.hansen@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Sat, 6 Sep 2008 10:51:33 +0000 (10:51 +0000)
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@183 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

test/cctest/test-strings.cc

index 776879e1cf0543286683452cb367b7005203f6a2..ba0317569a016326cffce39ee60afbd85dd56551 100644 (file)
@@ -362,7 +362,7 @@ TEST(Utf8Conversion) {
   for (int i = 0; i <= 11; i++) {
     // Clear the buffer before reusing it
     for (int j = 0; j < 11; j++)
-      buffer[j] = -1;
+      buffer[j] = static_cast<char>(-1);
     int written = mixed->WriteUtf8(buffer, i);
     CHECK_EQ(lengths[i], written);
     // Check that the contents are correct