summaryrefslogtreecommitdiff
path: root/db/dbcommands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'db/dbcommands.cpp')
-rw-r--r--db/dbcommands.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/db/dbcommands.cpp b/db/dbcommands.cpp
index 2068400339d..530b5475be8 100644
--- a/db/dbcommands.cpp
+++ b/db/dbcommands.cpp
@@ -566,9 +566,9 @@ namespace mongo {
assert( removeBit(2, 1) == 0 );
assert( removeBit(255, 1) == 127 );
assert( removeBit(21, 2) == 9 );
- assert( removeBit(0x8000000000000000, 63) == 0 );
- assert( removeBit(0x8000000000000001, 63) == 1 );
- assert( removeBit(0x8000000000000001, 0) == 0x4000000000000000 );
+ assert( removeBit(0x8000000000000000LL, 63) == 0 );
+ assert( removeBit(0x8000000000000001LL, 63) == 1 );
+ assert( removeBit(0x8000000000000001LL, 0) == 0x4000000000000000LL );
}
} dbc_unittest;