diff options
Diffstat (limited to 'src/mongo/db/pipeline/document_internal.h')
-rw-r--r-- | src/mongo/db/pipeline/document_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_internal.h b/src/mongo/db/pipeline/document_internal.h index 82310f15ecb..ced49bcbe60 100644 --- a/src/mongo/db/pipeline/document_internal.h +++ b/src/mongo/db/pipeline/document_internal.h @@ -380,7 +380,7 @@ private: /// Initialize empty hash table void hashTabInit() { - memset(_hashTab, -1, hashTabBytes()); + memset(static_cast<void*>(_hashTab), -1, hashTabBytes()); } static unsigned hashKey(StringData name) { |