From af59e92b24c8f624672720d47ef65bd8457728b9 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Mon, 25 Aug 2014 21:51:49 +0200 Subject: master renames phase 7 --- ext/posix/posix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/posix') 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); } -- cgit v1.2.1