From 7d38a3b81c82269cbec877b3ea9a827dbee044fd Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Fri, 26 Aug 2011 13:20:27 -0700 Subject: [PATCH] Fix build - due to V8 API change --- src/node_buffer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_buffer.cc b/src/node_buffer.cc index edc012f4e9df23..7865f0a637e7db 100644 --- a/src/node_buffer.cc +++ b/src/node_buffer.cc @@ -500,7 +500,7 @@ Handle 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--; }