mirror of
https://github.com/troglobit/editline.git
synced 2025-09-20 12:08:09 +08:00
Cast size_t to int, confuses some compilers otherwise.
This commit is contained in:
@@ -437,7 +437,7 @@ static void ceol(void)
|
|||||||
|
|
||||||
static void clear_line(void)
|
static void clear_line(void)
|
||||||
{
|
{
|
||||||
rl_point = -strlen(Prompt);
|
rl_point = -(int)strlen(Prompt);
|
||||||
tty_put('\r');
|
tty_put('\r');
|
||||||
ceol();
|
ceol();
|
||||||
rl_point = 0;
|
rl_point = 0;
|
||||||
|
Reference in New Issue
Block a user