Skip to content

Commit

Permalink
use NULL to set ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
willamowius committed Mar 12, 2021
1 parent ade1b6f commit 838ada5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Toolkit.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// Toolkit base class for the GnuGk
//
// Copyright (c) 2000-2020, Jan Willamowius
// Copyright (c) 2000-2021, Jan Willamowius
//
// This work is published under the GNU Public License version 2 (GPLv2)
// see file COPYING for details.
Expand Down Expand Up @@ -1285,7 +1285,7 @@ Toolkit::Toolkit() : Singleton<Toolkit>("Toolkit"),
m_H46026Enabled(false), m_licenseValid(false),
m_snmpEnabled(false), m_ipv6Enabled(false)
{
srand((unsigned int)time(0));
srand((unsigned int)time(NULL));
#ifdef P_SSL
m_OpenSSLInitialized = false;
#endif // P_SSL
Expand Down

0 comments on commit 838ada5

Please sign in to comment.