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 /ida.cpp | |
parent | 5fb2f5d45b9bb2cd86db5d01f4b30d606a2a4c80 (diff) | |
download | cryptopp-git-5efb019d8bdc593b3c1a0b57d615b170c7dab02a.tar.gz |
Add C++ nullptr support (Issue 383)
Diffstat (limited to 'ida.cpp')
-rw-r--r-- | ida.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -279,9 +279,9 @@ size_t SecretSharing::Put2(const byte *begin, size_t length, int messageEnd, boo while (m_ida.InputBuffered(0xffffffff) > 0)
SecretSharing::Put(0);
}
- m_ida.ChannelData(0xffffffff, NULL, 0, true);
+ m_ida.ChannelData(0xffffffff, NULLPTR, 0, true);
for (unsigned int i=0; i<m_ida.GetThreshold()-1; i++)
- m_ida.ChannelData(i, NULL, 0, true);
+ m_ida.ChannelData(i, NULLPTR, 0, true);
}
return 0;
@@ -342,7 +342,7 @@ size_t InformationDispersal::Put2(const byte *begin, size_t length, int messageE if (m_pad)
InformationDispersal::Put(1);
for (word32 i=0; i<m_ida.GetThreshold(); i++)
- m_ida.ChannelData(i, NULL, 0, true);
+ m_ida.ChannelData(i, NULLPTR, 0, true);
}
return 0;
|