summaryrefslogtreecommitdiff
path: root/src/node_buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_buffer.h')
-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 c36f20b2f0..38c1e2d29c 100644
--- a/src/node_buffer.h
+++ b/src/node_buffer.h
@@ -66,7 +66,7 @@ namespace node {
class NODE_EXTERN Buffer: public ObjectWrap {
public:
// mirrors deps/v8/src/objects.h
- static const int kMaxLength = 0x3fffffff;
+ static const unsigned int kMaxLength = 0x3fffffff;
static v8::Persistent<v8::FunctionTemplate> constructor_template;