Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 02ca431e authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Resolve gcc warning

parent e58db703
Pipeline #1999 failed with stage
in 7 minutes and 39 seconds
......@@ -370,7 +370,7 @@ bool sbbs_t::listfile(file_t* f, uint dirnum, const char *search, const char let
namelen = 12;
else if(namelen > sizeof(fname) - 1)
namelen = sizeof(fname) - 1;
bprintf("%-*s", namelen, format_filename(f->name, fname, namelen, /* pad: */TRUE));
bprintf("%-*s", (int)namelen, format_filename(f->name, fname, namelen, /* pad: */TRUE));
getfilepath(&cfg, f, path);
if(f->extdesc != NULL && *f->extdesc && !(useron.misc&EXTDESC))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment