summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjlemon <jlemon@FreeBSD.org>2001-06-16 07:15:48 +0000
committerjlemon <jlemon@FreeBSD.org>2001-06-16 07:15:48 +0000
commitb02e9205fce457aae0bd2aef07507218c80b4429 (patch)
treeeaf27c55c331d800db548f4962c723f5a5a62b95
parentf371c393d1d9d52936226995942133699ae0c05a (diff)
downloadFreeBSD-src-b02e9205fce457aae0bd2aef07507218c80b4429.zip
FreeBSD-src-b02e9205fce457aae0bd2aef07507218c80b4429.tar.gz
Fix warning (and obviously broken code)
77: warning: cast from pointer to integer of different size
-rw-r--r--usr.sbin/rpc.umntall/rpc.umntall.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/rpc.umntall/rpc.umntall.c b/usr.sbin/rpc.umntall/rpc.umntall.c
index 5129ba9..4428bc0 100644
--- a/usr.sbin/rpc.umntall/rpc.umntall.c
+++ b/usr.sbin/rpc.umntall/rpc.umntall.c
@@ -74,7 +74,7 @@ main(int argc, char **argv) {
host = optarg;
break;
case 'e':
- expire = (time_t)optarg;
+ expire = atoi(optarg);
break;
case 'k':
keep = 1;
OpenPOWER on IntegriCloud