diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-08-01 02:40:57 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-08-01 02:40:57 -0400 |
commit | 5b35e31bc6fef0f195448202f02a714e09663eaf (patch) | |
tree | 0a411ed42267d342c218571247c4e51b9d27b94d /scripting | |
parent | 6aab3be154c3f995270d6adb4fbe206f50a74d23 (diff) | |
download | mongo-5b35e31bc6fef0f195448202f02a714e09663eaf.tar.gz |
try to fix v8 compile
Diffstat (limited to 'scripting')
-rw-r--r-- | scripting/v8_wrapper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/v8_wrapper.cpp b/scripting/v8_wrapper.cpp index 2765a857ade..c045c7f9947 100644 --- a/scripting/v8_wrapper.cpp +++ b/scripting/v8_wrapper.cpp @@ -419,7 +419,7 @@ namespace mongo { } if ( value->IsDate() ){ - b.appendDate( sname , Date_t(v8::Date::Cast( *value )->NumberValue()) ); + b.appendDate( sname , Date_t( (unsigned long long)(v8::Date::Cast( *value )->NumberValue())) ); return; } |