Permalink
Browse files

Fix build - due to V8 API change

  • Loading branch information...
1 parent f1996ff commit 7d38a3b81c82269cbec877b3ea9a827dbee044fd @ry ry committed Aug 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/node_buffer.cc
View
@@ -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--;
}

0 comments on commit 7d38a3b

Please sign in to comment.