diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-02 11:33:53 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-02 11:33:53 +0100 |
commit | 52fe0c39457421e075959179ee6b64a20b96f0d9 (patch) | |
tree | e6dd000114d104bf6286d74682feb694b3cb97a3 /src/callable.cpp | |
parent | fa02aa127d2c4261d15123829e44f6d997444abc (diff) |
types are not a C++11 class, introduced FixedValue class that can not change type, and implemented both Object and Array to make use of that type, implemented - but not yet tested - Base::value() method
Diffstat (limited to 'src/callable.cpp')
-rw-r--r-- | src/callable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/callable.cpp b/src/callable.cpp index 5745d79..66333d5 100644 --- a/src/callable.cpp +++ b/src/callable.cpp @@ -99,7 +99,7 @@ void Callable::initialize(zend_internal_function_info *info, const char *classna // number of required arguments, and the expected return type info->required_num_args = _required; - info->_type_hint = _return; + info->_type_hint = (unsigned char)_return; // we do not support return-by-reference info->return_reference = false; |