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 7efe02ed authored by rswindell's avatar rswindell

Fixed gcc -Wall warnings (char array subscripts, signed/unsigned compares).

parent af6823da
...@@ -758,7 +758,7 @@ int sbbs_t::batchflagprompt(uint dirnum, file_t* bf, uint total ...@@ -758,7 +758,7 @@ int sbbs_t::batchflagprompt(uint dirnum, file_t* bf, uint total
bprintf(text[MoveToLibLstFmt],i+1,cfg.lib[usrlib[i]]->lname); bprintf(text[MoveToLibLstFmt],i+1,cfg.lib[usrlib[i]]->lname);
SYNC; SYNC;
bprintf(text[MoveToLibPrompt],cfg.dir[dirnum]->lib+1); bprintf(text[MoveToLibPrompt],cfg.dir[dirnum]->lib+1);
if((ml=getnum(usrlibs))==-1) if((int)(ml=getnum(usrlibs))==-1)
return(2); return(2);
if(!ml) if(!ml)
ml=cfg.dir[dirnum]->lib; ml=cfg.dir[dirnum]->lib;
......
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