aboutsummaryrefslogtreecommitdiff
path: root/src/node_buffer.cc
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-08-26 13:20:27 -0700
committerRyan Dahl <ry@tinyclouds.org>2011-08-26 13:20:27 -0700
commit7d38a3b81c82269cbec877b3ea9a827dbee044fd (patch)
tree702f4be5d1cad27e3ca6fb752c4436aee20aece0 /src/node_buffer.cc
parentf1996ffebc79148b94dab4cb6e7eceecf6e17554 (diff)
downloadandroid-node-v8-7d38a3b81c82269cbec877b3ea9a827dbee044fd.tar.gz
android-node-v8-7d38a3b81c82269cbec877b3ea9a827dbee044fd.tar.bz2
android-node-v8-7d38a3b81c82269cbec877b3ea9a827dbee044fd.zip
Fix build - due to V8 API change
Diffstat (limited to 'src/node_buffer.cc')
-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 edc012f4e9..7865f0a637 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--;
}