diff options
-rw-r--r-- | include/super.h | 4 | ||||
-rw-r--r-- | zend/module.h | 2 | ||||
-rw-r--r-- | zend/symbol.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/include/super.h b/include/super.h index 7b568e0..07dc4b3 100644 --- a/include/super.h +++ b/include/super.h @@ -44,7 +44,7 @@ public: Value operator[](const std::string &key) { // convert object to a value object, and retrieve the key - return value()[key]; + return value().get(key); } /** @@ -56,7 +56,7 @@ public: Value operator[](const char *key) { // convert object to a value object, and retrieve the key - return value()[key]; + return value().get(key); } /** diff --git a/zend/module.h b/zend/module.h index 8f3d832..4fa6bce 100644 --- a/zend/module.h +++ b/zend/module.h @@ -92,7 +92,7 @@ public: virtual ~Module() { // if the handle is still valid, we have to unload it - if (_handle) DL_UNLOAD(_handle); + if (_handle) DL_UNLOAD((DL_HANDLE)_handle); } /** diff --git a/zend/symbol.h b/zend/symbol.h index fcad9eb..6a470bd 100644 --- a/zend/symbol.h +++ b/zend/symbol.h @@ -99,7 +99,7 @@ public: * @param name Name of the function */ Symbol(void *handle, const char *name) : - _method(DL_FETCH_SYMBOL(handle, name)) {} + _method(DL_FETCH_SYMBOL((DL_HANDLE)handle, name)) {} /** * Destructor |