frontend: fix all compiler warnings

This commit is contained in:
2024-12-13 17:20:45 +00:00
parent 97aaffd166
commit b3a9943fe5
14 changed files with 68 additions and 72 deletions

View File

@@ -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]);
}