summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authordwight <dwight@10gen.com>2011-07-19 13:32:03 -0400
committerdwight <dwight@10gen.com>2011-08-02 02:39:06 -0400
commit4d3fe8b73a889bc9604df9c9460a1165f6a7a211 (patch)
tree8cf8a1df4736ca50f1308eeb9f77869d0f3a36fc /third_party
parentc716fa537d4e3df408175464dcd577529459e228 (diff)
downloadmongo-4d3fe8b73a889bc9604df9c9460a1165f6a7a211.tar.gz
elim a couple warnings on windows
Diffstat (limited to 'third_party')
-rwxr-xr-xthird_party/snappy/snappy.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/snappy/snappy.cc b/third_party/snappy/snappy.cc
index a591aba5945..fdc67e886c6 100755
--- a/third_party/snappy/snappy.cc
+++ b/third_party/snappy/snappy.cc
@@ -272,6 +272,11 @@ uint16* WorkingMemory::GetHashTable(size_t input_size, int* table_size) {
}
} // end namespace internal
+#if defined(_WIN32)
+// signed/unsigned mismatch
+# pragma warning( disable : 4244 )
+#endif
+
// For 0 <= offset <= 4, GetUint32AtOffset(UNALIGNED_LOAD64(p), offset) will
// equal UNALIGNED_LOAD32(p + offset). Motivation: On x86-64 hardware we have
// empirically found that overlapping loads such as