Fixed error in d8's write() function

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2826 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 65dcf75c
......@@ -159,7 +159,7 @@ Handle<Value> 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();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment