diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1997-07-21 01:53:38 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1997-07-21 01:53:38 +0000 |
commit | 09a9e26ecc92d40c2b640678d67367679bd524a0 (patch) | |
tree | e33f3e83790af190aa31d059767e5514b3488ae0 /usr.bin/rdist | |
parent | 553c150bec19ba7fbf810010279b492604a7f297 (diff) |
Fix compilation warning.
Diffstat (limited to 'usr.bin/rdist')
-rw-r--r-- | usr.bin/rdist/client.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/rdist/client.c b/usr.bin/rdist/client.c index d81a5bb3868..9392d7ede1b 100644 --- a/usr.bin/rdist/client.c +++ b/usr.bin/rdist/client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: client.c,v 1.4 1996/07/25 05:31:00 millert Exp $ */ +/* $OpenBSD: client.c,v 1.5 1997/07/21 01:53:37 angelos Exp $ */ /* * Copyright (c) 1983 Regents of the University of California. @@ -35,7 +35,7 @@ #ifndef lint static char RCSid[] = -"$OpenBSD: client.c,v 1.4 1996/07/25 05:31:00 millert Exp $"; +"$OpenBSD: client.c,v 1.5 1997/07/21 01:53:37 angelos Exp $"; static char sccsid[] = "@(#)client.c"; @@ -838,7 +838,7 @@ static int update(rname, opts, statp) /* * Parse size */ - size = strtol(cp, &cp, 10); + size = strtol(cp, (char **) &cp, 10); if (*cp++ != ' ') { error("update: size not delimited"); return(US_NOTHING); @@ -847,7 +847,7 @@ static int update(rname, opts, statp) /* * Parse mtime */ - mtime = strtol(cp, &cp, 10); + mtime = strtol(cp, (char **) &cp, 10); if (*cp++ != ' ') { error("update: mtime not delimited"); return(US_NOTHING); @@ -856,7 +856,7 @@ static int update(rname, opts, statp) /* * Parse remote file mode */ - rmode = strtol(cp, &cp, 8); + rmode = strtol(cp, (char **) &cp, 8); if (cp && *cp) ++cp; |