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