From fa0034ccbc745a3624314b6caf9814fe81e43d5f Mon Sep 17 00:00:00 2001 From: "mikhail.naganov@gmail.com" Date: Fri, 4 Sep 2009 19:38:04 +0000 Subject: [PATCH] Fixing presubmit error TBR=christian.plesner.hansen@gmail.com Review URL: http://codereview.chromium.org/192024 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2827 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 7133b7ad2a..ce48dc9ff1 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(char), str.length(), stdout); + fwrite(*str, sizeof(**str), str.length(), stdout); } return Undefined(); }