diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-04-16 20:24:46 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2013-04-16 20:24:46 +0000 |
commit | 39398764b16236f3508552b6409ac527c6a67c1d (patch) | |
tree | 3bb586c9bbdd048e1f216ff84c2924957cf4860a /usr.bin/rcs/rcsdiff.c | |
parent | d39db7d9a825c9b3165c51278c2b310d552c668b (diff) |
remove wrong casts; ok millert
Diffstat (limited to 'usr.bin/rcs/rcsdiff.c')
-rw-r--r-- | usr.bin/rcs/rcsdiff.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/rcs/rcsdiff.c b/usr.bin/rcs/rcsdiff.c index a260ad00b3b..31e3e68b221 100644 --- a/usr.bin/rcs/rcsdiff.c +++ b/usr.bin/rcs/rcsdiff.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcsdiff.c,v 1.78 2010/12/06 22:50:34 chl Exp $ */ +/* $OpenBSD: rcsdiff.c,v 1.79 2013/04/16 20:24:45 deraadt Exp $ */ /* * Copyright (c) 2005 Joris Vink <joris@openbsd.org> * All rights reserved. @@ -314,7 +314,7 @@ rcsdiff_file(RCSFILE *file, RCSNUM *rev, const char *filename, int dflags) } b1 = rcs_kwexp_buf(b1, file, rev); - tv[0].tv_sec = (long)rcs_rev_getdate(file, rev); + tv[0].tv_sec = rcs_rev_getdate(file, rev); tv[1].tv_sec = tv[0].tv_sec; if ((b2 = buf_load(filename)) == NULL) { @@ -394,7 +394,7 @@ rcsdiff_rev(RCSFILE *file, RCSNUM *rev1, RCSNUM *rev2, int dflags) } b1 = rcs_kwexp_buf(b1, file, rev1); - tv[0].tv_sec = (long)rcs_rev_getdate(file, rev1); + tv[0].tv_sec = rcs_rev_getdate(file, rev1); tv[1].tv_sec = tv[0].tv_sec; rcsnum_tostr(rev2, rbuf2, sizeof(rbuf2)); @@ -407,7 +407,7 @@ rcsdiff_rev(RCSFILE *file, RCSNUM *rev1, RCSNUM *rev2, int dflags) } b2 = rcs_kwexp_buf(b2, file, rev2); - tv2[0].tv_sec = (long)rcs_rev_getdate(file, rev2); + tv2[0].tv_sec = rcs_rev_getdate(file, rev2); tv2[1].tv_sec = tv2[0].tv_sec; if (!quiet) |