Browse Source

[master] Replaced a NULL ... better pointer type

Francis Dupont 8 years ago
parent
commit
8d9f4d2ea9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/hooks/callout_manager.cc

+ 1 - 1
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_, 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