Revision: 13348
Author:   [email protected]
Date:     Wed Jan  9 08:34:45 2013
Log:      Fix objectprint=on build.

[email protected]
BUG=

Review URL: https://chromiumcodereview.appspot.com/11827023
http://code.google.com/p/v8/source/detail?r=13348

Modified:
 /branches/bleeding_edge/src/objects-printer.cc

=======================================
--- /branches/bleeding_edge/src/objects-printer.cc      Tue Jan  8 01:03:16 2013
+++ /branches/bleeding_edge/src/objects-printer.cc      Wed Jan  9 08:34:45 2013
@@ -703,7 +703,7 @@
   static char* buffer = NULL;
   if (buffer != NULL) free(buffer);
   buffer = new char[length()+1];
-  WriteToFlat(this, buffer, 0, length());
+  WriteToFlat(this, reinterpret_cast<uint8_t*>(buffer), 0, length());
   buffer[length()] = 0;
   return buffer;
 }

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to