summaryrefslogtreecommitdiff
path: root/src/mongo/util/md5.cpp
diff options
context:
space:
mode:
authorA. Jesse Jiryu Davis <jesse@mongodb.com>2019-06-14 16:42:10 -0400
committerA. Jesse Jiryu Davis <jesse@mongodb.com>2019-06-14 19:23:18 -0400
commit47b380f03e8898f4706ff01fa2be64dfb72e0dba (patch)
treefb3508758c9abd0e297afee43ac847bf5aebcbbb /src/mongo/util/md5.cpp
parentb3c26131f6ab3f919beca658341e737de5d45683 (diff)
downloadmongo-47b380f03e8898f4706ff01fa2be64dfb72e0dba.tar.gz
SERVER-41071 Replace NULL and 0 with nullptr
Diffstat (limited to 'src/mongo/util/md5.cpp')
-rw-r--r--src/mongo/util/md5.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/md5.cpp b/src/mongo/util/md5.cpp
index 383b046c9ac..6a2867f0007 100644
--- a/src/mongo/util/md5.cpp
+++ b/src/mongo/util/md5.cpp
@@ -159,7 +159,7 @@ static void md5_process(md5_state_t* pms, const md5_byte_t* data /*[64]*/) {
* On little-endian machines, we can process properly aligned
* data without copying it.
*/
- if (!((data - (const md5_byte_t*)0) & 3)) {
+ if (!((data - (const md5_byte_t*)nullptr) & 3)) {
/* data are properly aligned */
X = (const md5_word_t*)data;
} else {