summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2010-08-01 02:40:57 -0400
committerEliot Horowitz <eliot@10gen.com>2010-08-01 02:40:57 -0400
commit5b35e31bc6fef0f195448202f02a714e09663eaf (patch)
tree0a411ed42267d342c218571247c4e51b9d27b94d /scripting
parent6aab3be154c3f995270d6adb4fbe206f50a74d23 (diff)
downloadmongo-5b35e31bc6fef0f195448202f02a714e09663eaf.tar.gz
try to fix v8 compile
Diffstat (limited to 'scripting')
-rw-r--r--scripting/v8_wrapper.cpp2
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;
}