diff options
author | Dwight <dmerriman@gmail.com> | 2009-10-21 16:12:48 -0400 |
---|---|---|
committer | Dwight <dmerriman@gmail.com> | 2009-10-21 16:12:48 -0400 |
commit | 1d4aa0a204c3317ccb81f47380923352ba4a6a6d (patch) | |
tree | b7c5ffe21a6688a951236cb5fb1410be98d05469 /db/dbcommands.cpp | |
parent | 458d202dc93efa3dba3f13c01f78bd02aa5ae58e (diff) | |
download | mongo-1d4aa0a204c3317ccb81f47380923352ba4a6a6d.tar.gz |
compile
Diffstat (limited to 'db/dbcommands.cpp')
-rw-r--r-- | db/dbcommands.cpp | 6 |
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; |