0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00

Add v8 patch to fix mac x64 build.

http://codereview.chromium.org/284012
This commit is contained in:
Ryan Dahl 2009-10-16 17:59:54 +02:00
parent 8e6d978bba
commit cfe5876350
2 changed files with 2 additions and 2 deletions

View File

@ -699,7 +699,7 @@ void MacroAssembler::SmiTryAddConstant(Register dst,
Smi* constant,
Label* on_not_smi_result) {
// Does not assume that src is a smi.
ASSERT_EQ(static_cast<intptr_t>(1), kSmiTagMask);
ASSERT_EQ(static_cast<int>(1), static_cast<int>(kSmiTagMask));
ASSERT_EQ(0, kSmiTag);
ASSERT(!dst.is(kScratchRegister));
ASSERT(!src.is(kScratchRegister));

View File

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