summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/node_buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_buffer.h b/src/node_buffer.h
index 9a0e1d2401..a548f2e4a3 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_);
}