diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-01-21 17:34:18 -0500 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-01-21 17:51:33 -0500 |
commit | a06749d784cef76d1b090449927a579bc8f1191b (patch) | |
tree | b25f778ecf6fa7eb9f97d6923ceebad03c68cdd3 /src | |
parent | 30175156315dba495454d8c1a81ccdc1ea564416 (diff) | |
download | mongo-a06749d784cef76d1b090449927a579bc8f1191b.tar.gz |
SERVER-22247 Fix clang compile error
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/s/catalog/type_chunk_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/catalog/type_chunk_test.cpp b/src/mongo/s/catalog/type_chunk_test.cpp index a971de3bf22..ffd357c1adc 100644 --- a/src/mongo/s/catalog/type_chunk_test.cpp +++ b/src/mongo/s/catalog/type_chunk_test.cpp @@ -148,7 +148,7 @@ TEST(ChunkType, Pre22Format) { ASSERT_EQUALS(chunk.getNS(), "test.mycol"); ASSERT_EQUALS(chunk.getMin(), BSON("a" << 10)); ASSERT_EQUALS(chunk.getMax(), BSON("a" << 20)); - ASSERT_EQUALS(chunk.getVersion().toLong(), 1); + ASSERT_EQUALS(chunk.getVersion().toLong(), 1ULL); ASSERT(!chunk.getVersion().epoch().isSet()); ASSERT_EQUALS(chunk.getShard(), "shard0001"); } |