mirror of
				https://github.com/troglobit/editline.git
				synced 2025-11-04 03:08:06 +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