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 /randpool.cpp | |
| parent | 5fb2f5d45b9bb2cd86db5d01f4b30d606a2a4c80 (diff) | |
| download | cryptopp-git-5efb019d8bdc593b3c1a0b57d615b170c7dab02a.tar.gz | |
Add C++ nullptr support (Issue 383)
Diffstat (limited to 'randpool.cpp')
| -rw-r--r-- | randpool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/randpool.cpp b/randpool.cpp index 51cec5d6..a7d2efdf 100644 --- a/randpool.cpp +++ b/randpool.cpp @@ -46,7 +46,7 @@ void RandomPool::GenerateIntoBufferedTransformation(BufferedTransformation &targ TimerWord tw = timer.GetCurrentTimerValue();
*(TimerWord *)(void*)m_seed.data() += tw;
- time_t t = time(NULL);
+ time_t t = time(NULLPTR);
// UBsan finding: signed integer overflow: 1876017710 + 1446085457 cannot be represented in type 'long int'
// *(time_t *)(m_seed.data()+8) += t;
|
