summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/pcntl/pcntl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcntl/pcntl.c b/ext/pcntl/pcntl.c
index 67168868b7..a78336ac89 100644
--- a/ext/pcntl/pcntl.c
+++ b/ext/pcntl/pcntl.c
@@ -1047,7 +1047,7 @@ PHP_FUNCTION(pcntl_signal_get_handler)
if ((prev_handle = zend_hash_index_find(&PCNTL_G(php_signal_table), signo)) != NULL) {
RETURN_ZVAL(prev_handle, 1, 0);
} else {
- RETURN_LONG((long)SIG_DFL);
+ RETURN_LONG((zend_long)SIG_DFL);
}
}