Skip to content
Snippets Groups Projects
Commit 02ca431e authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Resolve gcc warning

parent e58db703
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1999 failed
...@@ -370,7 +370,7 @@ bool sbbs_t::listfile(file_t* f, uint dirnum, const char *search, const char let ...@@ -370,7 +370,7 @@ bool sbbs_t::listfile(file_t* f, uint dirnum, const char *search, const char let
namelen = 12; namelen = 12;
else if(namelen > sizeof(fname) - 1) else if(namelen > sizeof(fname) - 1)
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); getfilepath(&cfg, f, path);
if(f->extdesc != NULL && *f->extdesc && !(useron.misc&EXTDESC)) if(f->extdesc != NULL && *f->extdesc && !(useron.misc&EXTDESC))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment