]> granicus.if.org Git - php/commitdiff
change long to zend_long, for uniformity
authorDavid Walker <dave@mudsite.com>
Wed, 6 Jul 2016 12:54:51 +0000 (06:54 -0600)
committerAaron Piotrowski <aaron@trowski.com>
Wed, 6 Jul 2016 18:57:37 +0000 (13:57 -0500)
ext/pcntl/pcntl.c

index 67168868b7f00f866c0f26ed85b07050416ad2cc..a78336ac89efc5fd21dd2327fde2e71b48dc2120 100644 (file)
@@ -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);
        }
 }