Fixed error in d8's write() function

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2826 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
christian.plesner.hansen 2009-09-04 15:36:53 +00:00
parent 65dcf75c2c
commit d2624cc6d6

View File

@ -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();
}