frontend: fix all compiler warnings
This commit is contained in:
@@ -21,7 +21,7 @@ void show_prompt(struct line_ed *ed)
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
unsigned long prompt_length(struct line_ed *ed, int prompt_id)
|
||||
size_t prompt_length(struct line_ed *ed, int prompt_id)
|
||||
{
|
||||
return strlen(ed->l_prompt[prompt_id]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user