diff --git a/src/node_buffer.h b/src/node_buffer.h index 9a0e1d24010..a548f2e4a3b 100644 --- a/src/node_buffer.h +++ b/src/node_buffer.h @@ -63,7 +63,7 @@ class Buffer : public ObjectWrap { } static inline size_t Length(Buffer *b) { - return Buffer::Length(b); + return Buffer::Length(b->handle_); }