From d2624cc6d6380bac86bbb0053744711891227a1f Mon Sep 17 00:00:00 2001 From: "christian.plesner.hansen" Date: Fri, 4 Sep 2009 15:36:53 +0000 Subject: [PATCH] Fixed error in d8's write() function git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2826 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/d8.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d8.cc b/src/d8.cc index 0941ee8bbc..7133b7ad2a 100644 --- a/src/d8.cc +++ b/src/d8.cc @@ -159,7 +159,7 @@ Handle Shell::Write(const Arguments& args) { printf(" "); } v8::String::Utf8Value str(args[i]); - fwrite(*str, sizeof(*str), str.length(), stdout); + fwrite(*str, sizeof(char), str.length(), stdout); } return Undefined(); }