-static const char* sidebar_number_format (char* dest, size_t destlen, char op,
+static const char* sidebar_number_format (char* dest, ssize_t destlen, char op,
const char* src, const char* fmt,
const char* ifstr, const char* elstr,
unsigned long data, format_flag flags) {
const char* src, const char* fmt,
const char* ifstr, const char* elstr,
unsigned long data, format_flag flags) {
{
int shortened = 0, lencnt = 0;
char no[SHORT_STRING], entry[SHORT_STRING];
{
int shortened = 0, lencnt = 0;
char no[SHORT_STRING], entry[SHORT_STRING];