From 838ada5d41add18b9e848a63747f02f2019414b8 Mon Sep 17 00:00:00 2001 From: Jan Willamowius Date: Fri, 12 Mar 2021 13:30:45 +0100 Subject: [PATCH] use NULL to set ptr --- Toolkit.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Toolkit.cxx b/Toolkit.cxx index e3ae8e17..500009a5 100644 --- a/Toolkit.cxx +++ b/Toolkit.cxx @@ -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. @@ -1285,7 +1285,7 @@ Toolkit::Toolkit() : Singleton("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