X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=status.c;h=1f756a5f0f61f3dae2e821a00c027042da356d6e;hp=80eac1dcf688a3196e776cf42168c8db0b5ed9b5;hb=40fc05e11b8f95a9661e6e410a9e7b7da7824891;hpb=ac813896ca32d850febc2d95065ac4fa040f11f9 diff --git a/status.c b/status.c index 80eac1d..1f756a5 100644 --- a/status.c +++ b/status.c @@ -31,7 +31,7 @@ #define SW (option(OPTMBOXPANE)?SidebarWidth:0) -static char *get_sort_str (char *buf, size_t buflen, int method) +static char *get_sort_str (char *buf, ssize_t buflen, int method) { snprintf (buf, buflen, "%s%s%s", (method & SORT_REVERSE) ? "reverse-" : "", @@ -58,7 +58,7 @@ static char *get_sort_str (char *buf, size_t buflen, int method) * %t = # of tagged messages [option] * %v = Madmutt version * %V = currently active limit pattern [option] */ -static const char *status_format_str (char *buf, size_t buflen, char op, +static const char *status_format_str (char *buf, ssize_t buflen, char op, const char *src, const char *prefix, const char *ifstring, const char *elsestring, @@ -300,7 +300,7 @@ static const char *status_format_str (char *buf, size_t buflen, char op, return (src); } -void menu_status_line (char* buf, size_t len, MUTTMENU* menu, const char* p) { +void menu_status_line (char* buf, ssize_t len, MUTTMENU* menu, const char* p) { /* * if we have enough space for buffer, format lines to $COLS-$SidebarWidth * only to not wrap past end of screen