diff --git a/mbcico/emsidat.c b/mbcico/emsidat.c index becf3ead..311b025d 100644 --- a/mbcico/emsidat.c +++ b/mbcico/emsidat.c @@ -228,7 +228,7 @@ char *mkemsidat(int caller) p=xstrcat(p,flags?emsiencode(flags):(char *)""); p=xstrcat(p,(char *)"]}{TRX#}{["); tt = time(NULL); - sprintf(cbuf,"%08lX",mtime2sl(tt)); + sprintf(cbuf,"%08lX", (unsigned long)mtime2sl(tt)); p=xstrcat(p,cbuf); p=xstrcat(p,(char *)"]}{TZUTC}{["); p=xstrcat(p,gmtoffset(tt)); diff --git a/mbcico/hydra.c b/mbcico/hydra.c index c8f9ab55..e04748a9 100644 --- a/mbcico/hydra.c +++ b/mbcico/hydra.c @@ -1406,7 +1406,7 @@ int hydra_batch(int role, file_list *to_send) long filesize; 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 */ orgstamp = timestamp;