summaryrefslogtreecommitdiff
path: root/ida.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-03-01 06:10:06 -0500
committerJeffrey Walton <noloader@gmail.com>2017-03-01 06:10:06 -0500
commit5efb019d8bdc593b3c1a0b57d615b170c7dab02a (patch)
treee2c10e737542fd13ea50b58480e0791bbc455e47 /ida.cpp
parent5fb2f5d45b9bb2cd86db5d01f4b30d606a2a4c80 (diff)
downloadcryptopp-git-5efb019d8bdc593b3c1a0b57d615b170c7dab02a.tar.gz
Add C++ nullptr support (Issue 383)
Diffstat (limited to 'ida.cpp')
-rw-r--r--ida.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ida.cpp b/ida.cpp
index d42317f4..125ab979 100644
--- a/ida.cpp
+++ b/ida.cpp
@@ -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;