From: Francis Dupont Date: Fri, 9 Dec 2016 15:37:52 +0000 (+0100) Subject: [master] Replaced a NULL ... again X-Git-Tag: trac5077_base~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56858b2561c15aaf2e5d5ffec2d077feb8298b9c;p=thirdparty%2Fkea.git [master] Replaced a NULL ... again --- diff --git a/src/lib/hooks/callout_manager.cc b/src/lib/hooks/callout_manager.cc index 2510b7bcf6..e82deecbf9 100644 --- a/src/lib/hooks/callout_manager.cc +++ b/src/lib/hooks/callout_manager.cc @@ -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(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