Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix update on 32-bit machines

  • Loading branch information...
commit 0b1282baff7caebf75555fcd372f05268322d88a 1 parent 5963d0e
@erh erh authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 dbtests/updatetests.cpp
View
4 dbtests/updatetests.cpp
@@ -752,8 +752,8 @@ namespace UpdateTests {
void dotest(){
client().insert( ns() , BSON( "x" << 5 ) );
ASSERT( findOne()["x"].type() == NumberInt );
- long start = 5;
- long max = 1024L * 1024L * 1024L * 16;
+ long long start = 5;
+ long long max = 1024L * 1024L * 1024L * 16;
ASSERT( max > numeric_limits<int>::max() );
cout << "E: " << max << endl;
while ( start < max ){
Please sign in to comment.
Something went wrong with that request. Please try again.