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 7c2fb3f6 authored by rswindell's avatar rswindell
Browse files

Fix Intel CC warnings.

parent cb567d30
......@@ -1024,7 +1024,7 @@ void alter_config(faddr_t addr, char *old, char *new, int option)
return; }
if((cfgfile=fopen(cfg.cfgfile,"r"))==NULL) {
printf("\7ERROR couldn't open %s.\n",cfg.cfgfile);
logprintf("ERROR line %d opening %s",__LINE__,cfg.cfgfile
logprintf("ERROR line %d opening %s %s",__LINE__,cfg.cfgfile
,strerror(errno));
fclose(outfile);
free(outname);
......@@ -2261,7 +2261,7 @@ char* getfmsg(FILE *stream, ulong *outlen)
if(outlen)
*outlen=length;
return(fbuf);
return((char*)fbuf);
}
#define MAX_TAILLEN 1024
......
......@@ -2260,7 +2260,7 @@ hot key event. Hot key events are control characters that are used to
execute an external program or module anywhere in the BBS.
*/
uifc.savnum=1;
sprintf(str,"Ctrl-%C Hot Key Event",cfg.hotkey[i]->key+'@');
sprintf(str,"Ctrl-%c Hot Key Event",cfg.hotkey[i]->key+'@');
switch(uifc.list(WIN_SAV|WIN_ACT|WIN_L2R|WIN_BOT,0,0,60,&dfltopt,0
,str,opt)) {
case -1:
......
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