Compiler warning fixes for FreeBSD
This commit is contained in:
parent
d7670ba3ca
commit
2d8f750e1d
@ -228,7 +228,7 @@ char *mkemsidat(int caller)
|
|||||||
p=xstrcat(p,flags?emsiencode(flags):(char *)"");
|
p=xstrcat(p,flags?emsiencode(flags):(char *)"");
|
||||||
p=xstrcat(p,(char *)"]}{TRX#}{[");
|
p=xstrcat(p,(char *)"]}{TRX#}{[");
|
||||||
tt = time(NULL);
|
tt = time(NULL);
|
||||||
sprintf(cbuf,"%08lX",mtime2sl(tt));
|
sprintf(cbuf,"%08lX", (unsigned long)mtime2sl(tt));
|
||||||
p=xstrcat(p,cbuf);
|
p=xstrcat(p,cbuf);
|
||||||
p=xstrcat(p,(char *)"]}{TZUTC}{[");
|
p=xstrcat(p,(char *)"]}{TZUTC}{[");
|
||||||
p=xstrcat(p,gmtoffset(tt));
|
p=xstrcat(p,gmtoffset(tt));
|
||||||
|
@ -1406,7 +1406,7 @@ int hydra_batch(int role, file_list *to_send)
|
|||||||
long filesize;
|
long filesize;
|
||||||
char dosname[8 + 1 + 3 + 1], *Name;
|
char dosname[8 + 1 + 3 + 1], *Name;
|
||||||
|
|
||||||
sscanf(rxbuf, "%08lx%08lx%*08x%*08x%*08x", ×tamp, &filesize);
|
sscanf(rxbuf, "%08lx%08lx%*08x%*08x%*08x", ×tamp, &filesize);
|
||||||
|
|
||||||
/* convert timestamp to UNIX time */
|
/* convert timestamp to UNIX time */
|
||||||
orgstamp = timestamp;
|
orgstamp = timestamp;
|
||||||
|
Reference in New Issue
Block a user