diff options
author | monty@donna.mysql.com <> | 2000-09-12 03:02:33 +0300 |
---|---|---|
committer | monty@donna.mysql.com <> | 2000-09-12 03:02:33 +0300 |
commit | 2776500c220c92bb78df03513cc3dd33588f40e5 (patch) | |
tree | 051686baf31e5363765879f2437ada3abea6b71b /readline | |
parent | 497007e2bd9cb127d54a4fdb02253301f404ce7f (diff) | |
download | mariadb-git-2776500c220c92bb78df03513cc3dd33588f40e5.tar.gz |
Update to new root alloc, OPTIMIZE TABLE and some other changes
Diffstat (limited to 'readline')
-rw-r--r-- | readline/bind.c | 2 | ||||
-rw-r--r-- | readline/isearch.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/readline/bind.c b/readline/bind.c index f446dc8cd10..3b311a9e920 100644 --- a/readline/bind.c +++ b/readline/bind.c @@ -1371,7 +1371,7 @@ rl_variable_bind (name, value) v[end] = '\0'; /* The value starts at v + beg. Translate it into a character string. */ _rl_isearch_terminators = (unsigned char *)xmalloc (2 * strlen (v) + 1); - rl_translate_keyseq (v + beg, _rl_isearch_terminators, &end); + rl_translate_keyseq (v + beg, (char*) _rl_isearch_terminators, &end); _rl_isearch_terminators[end] = '\0'; free (v); } diff --git a/readline/isearch.c b/readline/isearch.c index 67279e18924..ae8dce520f0 100644 --- a/readline/isearch.c +++ b/readline/isearch.c @@ -264,7 +264,7 @@ rl_search_history (direction, invoking_key) variable isearch-terminators) are used to terminate the search but not subsequently execute the character as a command. The default value is "\033\012" (ESC and C-J). */ - if (strchr (isearch_terminators, c)) + if (strchr((char*) isearch_terminators, c)) #endif { /* ESC still terminates the search, but if there is pending |