Windows build fix.
authormrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 17 Nov 2007 00:52:17 +0000 (00:52 +0000)
committermrowe@apple.com <mrowe@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 17 Nov 2007 00:52:17 +0000 (00:52 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27861 268f45cc-cd09-0410-ab3c-d52691b4dbfc

JavaScriptCore/ChangeLog
JavaScriptCore/kjs/lexer.cpp

index ff08c0f..b4e09c3 100644 (file)
@@ -1,5 +1,12 @@
 2007-11-16  Mark Rowe  <mrowe@apple.com>
 
+        Windows build fix.
+
+        * kjs/lexer.cpp:
+        (KJS::Lexer::record8):
+
+2007-11-16  Mark Rowe  <mrowe@apple.com>
+
         Reviewed by Eric.
 
         Replace strings, identifier, buffer8 and buffer16 members of Lexer with vectors.
index ffe5411..5350daa 100644 (file)
@@ -788,7 +788,7 @@ void Lexer::record8(int c)
 {
     ASSERT(c >= 0);
     ASSERT(c <= 0xff);
-    m_buffer8.append(c);
+    m_buffer8.append(static_cast<char>(c));
 }
 
 void Lexer::record16(int c)