From ae7c9909be6bef9ba80955673bd673594be5929a Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Wed, 28 Oct 2009 21:35:49 +0100 Subject: [PATCH] fix error from v8 upgrade --- src/node_file.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_file.cc b/src/node_file.cc index c2c329f6d6..cac71dbaf0 100644 --- a/src/node_file.cc +++ b/src/node_file.cc @@ -88,7 +88,7 @@ static Local BuildStatsObject(struct stat * s) { stats->Set(RDEV_SYMBOL, Integer::New(s->st_rdev)); /* total size, in bytes */ - stats->Set(SIZE_SYMBOL, Integer::NewFromUnsigned(s->st_size)); + stats->Set(SIZE_SYMBOL, Integer::New(s->st_size)); /* blocksize for filesystem I/O */ stats->Set(BLKSIZE_SYMBOL, Integer::New(s->st_blksize));