mirror of
https://github.com/troglobit/editline.git
synced 2025-09-18 19:10: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)
|
||||
{
|
||||
rl_point = -strlen(Prompt);
|
||||
rl_point = -(int)strlen(Prompt);
|
||||
tty_put('\r');
|
||||
ceol();
|
||||
rl_point = 0;
|
||||
|
Reference in New Issue
Block a user