summaryrefslogtreecommitdiff
path: root/ext/posix
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-25 21:51:49 +0200
committerAnatol Belski <ab@php.net>2014-08-25 21:51:49 +0200
commitaf59e92b24c8f624672720d47ef65bd8457728b9 (patch)
tree1da992a4689783e1351760a8702cbf6844ad37aa /ext/posix
parentb9514bb8fd27e2d841bab3eb256fcbaa613aa049 (diff)
downloadphp-git-af59e92b24c8f624672720d47ef65bd8457728b9.tar.gz
master renames phase 7PRE_AST_MERGE
Diffstat (limited to 'ext/posix')
-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 97ec81174f..836b65e8f4 100644
--- a/ext/posix/posix.c
+++ b/ext/posix/posix.c
@@ -738,7 +738,7 @@ PHP_FUNCTION(posix_ttyname)
}
break;
default:
- convert_to_int_ex(z_fd);
+ convert_to_long_ex(z_fd);
fd = Z_LVAL_P(z_fd);
}
#if defined(ZTS) && defined(HAVE_TTYNAME_R) && defined(_SC_TTY_NAME_MAX)
@@ -783,7 +783,7 @@ PHP_FUNCTION(posix_isatty)
}
break;
default:
- convert_to_int_ex(z_fd);
+ convert_to_long_ex(z_fd);
fd = Z_LVAL_P(z_fd);
}