diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-08-26 13:20:27 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-08-26 13:20:27 -0700 |
commit | 7d38a3b81c82269cbec877b3ea9a827dbee044fd (patch) | |
tree | 702f4be5d1cad27e3ca6fb752c4436aee20aece0 /src/node_buffer.cc | |
parent | f1996ffebc79148b94dab4cb6e7eceecf6e17554 (diff) | |
download | node-7d38a3b81c82269cbec877b3ea9a827dbee044fd.tar.gz |
Fix build - due to V8 API change
Diffstat (limited to 'src/node_buffer.cc')
-rw-r--r-- | src/node_buffer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_buffer.cc b/src/node_buffer.cc index edc012f4e..7865f0a63 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--; } |