From 738fb4ddebd0f96081d324d8ea9b0c7493ec43d7 Mon Sep 17 00:00:00 2001 From: Roland Eischer Date: Fri, 14 Apr 2017 10:28:47 +0200 Subject: [PATCH] Added missing type cast for DL_HANDLE --- zend/module.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zend/module.h b/zend/module.h index 7902f8e9..cd411f99 100644 --- a/zend/module.h +++ b/zend/module.h @@ -75,7 +75,7 @@ class Module auto iter = _handles.begin(); // remove the handle - DL_UNLOAD(*iter); + DL_UNLOAD(static_cast(*iter)); // remove from set _handles.erase(iter); @@ -151,7 +151,7 @@ class Module virtual ~Module() { // if the handle is still valid, we have to unload it - if (_handle) DL_UNLOAD((DL_HANDLE)_handle); + if (_handle) DL_UNLOAD(static_cast(_handle)); } /**