Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-08-27 00:20:27 +0400
committerRyan Dahl <ry@tinyclouds.org>2011-08-27 00:20:27 +0400
commit7d38a3b81c82269cbec877b3ea9a827dbee044fd (patch)
tree702f4be5d1cad27e3ca6fb752c4436aee20aece0
parentf1996ffebc79148b94dab4cb6e7eceecf6e17554 (diff)
Fix build - due to V8 API change
-rw-r--r--src/node_buffer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_buffer.cc b/src/node_buffer.cc
index edc012f4e9d..7865f0a637e 100644
--- a/src/node_buffer.cc
+++ b/src/node_buffer.cc
@@ -500,7 +500,7 @@ Handle<Value> Buffer::Utf8Write(const Arguments &args) {
if (written > 0 && p[written-1] == '\0' && char_written == length) {
uint16_t last_char;
- s->Write(&last_char, length - 1, 1, String::NO_HINTS);
+ s->Write(&last_char, length - 1, 1, String::NO_OPTIONS);
if (last_char != 0 || written > s->Utf8Length()) {
written--;
}