diff options
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; |