Skip to content
Snippets Groups Projects
Commit 15b4fb90 authored by rswindell's avatar rswindell
Browse files

Fixed gcc printf warning.

parent 00b6c628
No related branches found
No related tags found
No related merge requests found
...@@ -736,7 +736,7 @@ int main(int argc, char **argv) ...@@ -736,7 +736,7 @@ int main(int argc, char **argv)
sprintf(f.desc,"%s ",unixtodstr(&scfg,fdate(str),tmp)); sprintf(f.desc,"%s ",unixtodstr(&scfg,fdate(str),tmp));
if(mode&TODAYS_DATE) if(mode&TODAYS_DATE)
sprintf(f.desc,"%s ",unixtodstr(&scfg,time(NULL),tmp)); sprintf(f.desc,"%s ",unixtodstr(&scfg,time(NULL),tmp));
sprintf(tmp,"%.*s",LEN_FDESC-strlen(f.desc),argv[++j]); sprintf(tmp,"%.*s",(int)(LEN_FDESC-strlen(f.desc)),argv[++j]);
strcpy(f.desc,tmp); strcpy(f.desc,tmp);
l=flength(str); l=flength(str);
if(l==-1) { if(l==-1) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment