summaryrefslogtreecommitdiff
path: root/ext/readline
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/readline
parentb9514bb8fd27e2d841bab3eb256fcbaa613aa049 (diff)
downloadphp-git-af59e92b24c8f624672720d47ef65bd8457728b9.tar.gz
master renames phase 7PRE_AST_MERGE
Diffstat (limited to 'ext/readline')
-rw-r--r--ext/readline/readline.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/readline/readline.c b/ext/readline/readline.c
index 10bd44ce5d..22db04c86e 100644
--- a/ext/readline/readline.c
+++ b/ext/readline/readline.c
@@ -284,7 +284,7 @@ PHP_FUNCTION(readline_info)
} else if (!strcasecmp(what, "done")) {
oldval = rl_done;
if (value) {
- convert_to_int_ex(value);
+ convert_to_long_ex(value);
rl_done = Z_LVAL_P(value);
}
RETVAL_LONG(oldval);
@@ -304,7 +304,7 @@ PHP_FUNCTION(readline_info)
} else if (!strcasecmp(what, "erase_empty_line")) {
oldval = rl_erase_empty_line;
if (value) {
- convert_to_int_ex(value);
+ convert_to_long_ex(value);
rl_erase_empty_line = Z_LVAL_PP(value);
}
RETVAL_LONG(oldval);
@@ -322,7 +322,7 @@ PHP_FUNCTION(readline_info)
} else if (!strcasecmp(what, "attempted_completion_over")) {
oldval = rl_attempted_completion_over;
if (value) {
- convert_to_int_ex(value);
+ convert_to_long_ex(value);
rl_attempted_completion_over = Z_LVAL_P(value);
}
RETVAL_LONG(oldval);