]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] Replaced a NULL ... again
authorFrancis Dupont <fdupont@isc.org>
Fri, 9 Dec 2016 15:37:52 +0000 (16:37 +0100)
committerFrancis Dupont <fdupont@isc.org>
Fri, 9 Dec 2016 15:37:52 +0000 (16:37 +0100)
src/lib/hooks/callout_manager.cc

index 2510b7bcf6fac3791792406e8ef9c48c0e0638fe..e82deecbf93735ca420f8802cfa93fae5d2cff44 100644 (file)
@@ -247,7 +247,7 @@ CalloutManager::deregisterAllCallouts(const std::string& name) {
 
     /// Construct a CalloutEntry matching the current library (the callout
     /// pointer is NULL as we are not checking that).
-    CalloutEntry target(current_library_, NULL);
+    CalloutEntry target(current_library_, static_cast<void>(0));
 
     /// To decide if any entries were removed, we'll record the initial size
     /// of the callout vector for the hook, and compare it with the size after