Browse Source

fix error from v8 upgrade

v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
ae7c9909be
  1. 2
      src/node_file.cc

2
src/node_file.cc

@ -88,7 +88,7 @@ static Local<Object> BuildStatsObject(struct stat * s) {
stats->Set(RDEV_SYMBOL, Integer::New(s->st_rdev)); stats->Set(RDEV_SYMBOL, Integer::New(s->st_rdev));
/* total size, in bytes */ /* 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 */ /* blocksize for filesystem I/O */
stats->Set(BLKSIZE_SYMBOL, Integer::New(s->st_blksize)); stats->Set(BLKSIZE_SYMBOL, Integer::New(s->st_blksize));

Loading…
Cancel
Save