NetBSD compile cleanups

This commit is contained in:
Michiel Broek 2004-03-30 20:50:24 +00:00
parent fb6348bd38
commit d0c085aa94
2 changed files with 3 additions and 3 deletions

View File

@ -1259,7 +1259,7 @@ Mfunc(f_strlen)
ArgCount(1, 1); ArgCount(1, 1);
Sarg(str, 0); Sarg(str, 0);
Rint(strlen(str)); Rint((int)strlen(str));
} }
/* @(STRSTR,<str1>,<str2>) -- Find a substring in a string */ /* @(STRSTR,<str1>,<str2>) -- Find a substring in a string */

View File

@ -45,7 +45,7 @@
static FILE *fout=NULL; static FILE *fout=NULL;
static int Usevhdrs; static int Usevhdrs;
static long rxbytes; static off_t rxbytes;
static int Eofseen; /* indicates cpm eof (^Z) has been received */ static int Eofseen; /* indicates cpm eof (^Z) has been received */
static int errors; static int errors;
static long sbytes; static long sbytes;
@ -507,7 +507,7 @@ int procheader(char *Name)
strcpy(ctt,date(Modtime)); strcpy(ctt,date(Modtime));
Syslog('+', "Zmodem: \"%s\" %ld bytes, %s mode %o", Name, Bytesleft, ctt, Filemode); Syslog('+', "Zmodem: \"%s\" %ld bytes, %s mode %o", Name, Bytesleft, ctt, Filemode);
fout = openfile(Name,Modtime,Bytesleft,&(long)(rxbytes),resync); fout = openfile(Name,Modtime,Bytesleft,&rxbytes,resync);
gettimeofday(&starttime, &tz); gettimeofday(&starttime, &tz);
sbytes = rxbytes; sbytes = rxbytes;