diff options
author | kevlo <kevlo@FreeBSD.org> | 2012-02-14 10:11:45 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2012-02-14 10:11:45 +0000 |
commit | a98c58d607bdd82b4105ce0c15625e59e0126082 (patch) | |
tree | 5972e53e7a2673fb62ad5ccf551f22f487ff5a98 /usr.bin/chpass/util.c | |
parent | 88b557a10aa0c025d080af4d59bb400aaa8a6bb6 (diff) | |
download | FreeBSD-src-a98c58d607bdd82b4105ce0c15625e59e0126082.zip FreeBSD-src-a98c58d607bdd82b4105ce0c15625e59e0126082.tar.gz |
Remove unnecessary cast
Diffstat (limited to 'usr.bin/chpass/util.c')
-rw-r--r-- | usr.bin/chpass/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/chpass/util.c b/usr.bin/chpass/util.c index 07d96e2..baf160e 100644 --- a/usr.bin/chpass/util.c +++ b/usr.bin/chpass/util.c @@ -110,10 +110,10 @@ atot(char *p, time_t *store) } } } - if (!(t = strtok((char *)NULL, " \t,")) || !isdigit(*t)) + if (!(t = strtok(NULL, " \t,")) || !isdigit(*t)) goto bad; day = atoi(t); - if (!(t = strtok((char *)NULL, " \t,")) || !isdigit(*t)) + if (!(t = strtok(NULL, " \t,")) || !isdigit(*t)) goto bad; year = atoi(t); if (day < 1 || day > 31 || month < 1 || month > 12) |