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

index 5d3ceca49223899fa0a1ab1b4d526a3b12144233..d41f7df44339cb19f9476e3bbad96dd9ff8a360d 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_, static_cast<void*>(0));
+    CalloutEntry target(current_library_, static_cast<CalloutPtr>(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