summaryrefslogtreecommitdiff
path: root/ext/posix/posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/posix/posix.c')
-rw-r--r--ext/posix/posix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/posix/posix.c b/ext/posix/posix.c
index f101f61344..ba0fd292b7 100644
--- a/ext/posix/posix.c
+++ b/ext/posix/posix.c
@@ -616,7 +616,7 @@ PHP_FUNCTION(posix_ttyname)
switch (Z_TYPE_P(z_fd)) {
case IS_RESOURCE:
- if (!php_posix_stream_get_fd(Z_RESVAL_P(z_fd), &fd)) {
+ if (!php_posix_stream_get_fd(Z_RESVAL_P(z_fd), &fd TSRMLS_CC)) {
RETURN_FALSE;
}
break;
@@ -646,7 +646,7 @@ PHP_FUNCTION(posix_isatty)
switch (Z_TYPE_P(z_fd)) {
case IS_RESOURCE:
- if (!php_posix_stream_get_fd(Z_RESVAL_P(z_fd), &fd)) {
+ if (!php_posix_stream_get_fd(Z_RESVAL_P(z_fd), &fd TSRMLS_CC)) {
RETURN_FALSE;
}
break;