diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-03-01 06:10:06 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-03-01 06:10:06 -0500 |
commit | 5efb019d8bdc593b3c1a0b57d615b170c7dab02a (patch) | |
tree | e2c10e737542fd13ea50b58480e0791bbc455e47 /zinflate.cpp | |
parent | 5fb2f5d45b9bb2cd86db5d01f4b30d606a2a4c80 (diff) | |
download | cryptopp-git-5efb019d8bdc593b3c1a0b57d615b170c7dab02a.tar.gz |
Add C++ nullptr support (Issue 383)
Diffstat (limited to 'zinflate.cpp')
-rw-r--r-- | zinflate.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zinflate.cpp b/zinflate.cpp index c40a5883..6d8c31e7 100644 --- a/zinflate.cpp +++ b/zinflate.cpp @@ -309,7 +309,7 @@ size_t Inflator::Put2(const byte *inString, size_t length, int messageEnd, bool if (!(m_state == PRE_STREAM || m_state == AFTER_END))
throw UnexpectedEndErr();
- Output(0, NULL, 0, messageEnd, blocking);
+ Output(0, NULLPTR, 0, messageEnd, blocking);
return 0;
}
@@ -359,7 +359,7 @@ void Inflator::ProcessInput(bool flush) return;
ProcessPoststreamTail();
m_state = m_repeat ? PRE_STREAM : AFTER_END;
- Output(0, NULL, 0, GetAutoSignalPropagation(), true); // TODO: non-blocking
+ Output(0, NULLPTR, 0, GetAutoSignalPropagation(), true); // TODO: non-blocking
if (m_inQueue.IsEmpty())
return;
break;
|